pythonPackages.pycountry: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
parent
abc0996dd0
commit
3e1f1f76bb
22
pkgs/development/python-modules/pycountry/default.nix
Normal file
22
pkgs/development/python-modules/pycountry/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycountry";
|
||||
version = "1.17";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1qvhq0c9xsh6d4apcvjphfzl6xnwhnk4jvhr8x2fdfnmb034lc26";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://bitbucket.org/flyingcircus/pycountry;
|
||||
description = "ISO country, subdivision, language, currency and script definitions and their translations";
|
||||
license = licenses.lgpl2;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user