nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 792 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyasn1, 6 pytestCheckHook, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "pyasn1-modules"; 12 version = "0.4.2"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "pyasn1"; 17 repo = "pyasn1-modules"; 18 tag = "v${version}"; 19 hash = "sha256-jpMIxQ4BJ7MY3cV276sVJv+3M/MMFKRIoL2m2QJFxRY="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ pyasn1 ]; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 pythonImportsCheck = [ "pyasn1_modules" ]; 29 30 meta = { 31 description = "Collection of ASN.1-based protocols modules"; 32 homepage = "https://pyasn1.readthedocs.io"; 33 changelog = "https://github.com/pyasn1/pyasn1-modules/releases/tag/v${version}"; 34 license = lib.licenses.bsd2; 35 maintainers = [ ]; 36 }; 37}