depot/third_party/nixpkgs/pkgs/development/python-modules/pycountry/default.nix
Default email ce641f4048 Project import generated by Copybara.
GitOrigin-RevId: bc5d68306b40b8522ffb69ba6cff91898c2fbbff
2021-12-06 17:07:01 +01:00

31 lines
619 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://github.com/flyingcircusio/pycountry";
description = "ISO country, subdivision, language, currency and script definitions and their translations";
license = licenses.lgpl2;
maintainers = with maintainers; [ ];
};
}