nixpkgs/pkgs/development/python-modules/pycountry/default.nix
2021-10-11 01:22:11 +02:00

32 lines
620 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pycountry";
version = "20.7.3";
src = fetchPypi {
inherit pname version;
sha256 = "0hnbabsmqimx5hqh0jbd2f64i8fhzhhbrvid57048hs5sd9ll241";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pycountry"
];
meta = with lib; {
homepage = "https://bitbucket.org/flyingcircus/pycountry";
description = "ISO country, subdivision, language, currency and script definitions and their translations";
license = licenses.lgpl2;
maintainers = with maintainers; [ ];
};
}