mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
0215034f25
when they already rely on SRI hashes.
37 lines
684 B
Nix
37 lines
684 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pycountry";
|
|
version = "22.3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-shY6JGxYWJTYCPGHg+GRN8twoMGPs2dI3AH8bxCcFkY=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
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; [ ];
|
|
};
|
|
|
|
}
|