Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pyasn1, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "pyasn1-modules"; 13 version = "0.4.0"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "pyasn1"; 20 repo = "pyasn1-modules"; 21 rev = "refs/tags/v${version}"; 22 hash = "sha256-UJycVfj08+3zjHPji5Qlh3yqeS30dEwu1pyrN1yo1Vc="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ pyasn1 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "pyasn1_modules" ]; 32 33 meta = { 34 description = "Collection of ASN.1-based protocols modules"; 35 homepage = "https://pyasn1.readthedocs.io"; 36 changelog = "https://github.com/pyasn1/pyasn1-modules/releases/tag/v${version}"; 37 license = lib.licenses.bsd2; 38 maintainers = [ ]; 39 }; 40}