nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 31 lines 618 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "pycountry"; 9 version = "22.3.5"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-shY6JGxYWJTYCPGHg+GRN8twoMGPs2dI3AH8bxCcFkY="; 14 }; 15 16 checkInputs = [ 17 pytestCheckHook 18 ]; 19 20 pythonImportsCheck = [ 21 "pycountry" 22 ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/flyingcircusio/pycountry"; 26 description = "ISO country, subdivision, language, currency and script definitions and their translations"; 27 license = licenses.lgpl2; 28 maintainers = with maintainers; [ ]; 29 }; 30 31}