Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 asn1crypto, 4 buildPythonPackage, 5 certvalidator, 6 fetchFromGitHub, 7 mscerts, 8 oscrypto, 9 pyasn1, 10 pyasn1-modules, 11 pytestCheckHook, 12 pythonOlder, 13 setuptools, 14 typing-extensions, 15}: 16 17buildPythonPackage rec { 18 pname = "signify"; 19 version = "0.6.0"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.8"; 23 24 src = fetchFromGitHub { 25 owner = "ralphje"; 26 repo = "signify"; 27 rev = "refs/tags/v${version}"; 28 hash = "sha256-29SyzqtZ1cI+1xrSPLFr63vwB5st/9i5b3FYtJn6eok="; 29 }; 30 31 nativeBuildInputs = [ setuptools ]; 32 33 propagatedBuildInputs = [ 34 asn1crypto 35 certvalidator 36 mscerts 37 oscrypto 38 pyasn1 39 pyasn1-modules 40 typing-extensions 41 ]; 42 43 pythonImportsCheck = [ "signify" ]; 44 45 nativeCheckInputs = [ pytestCheckHook ]; 46 47 meta = with lib; { 48 changelog = "https://github.com/ralphje/signify/blob/${src.rev}/docs/changelog.rst"; 49 description = "library that verifies PE Authenticode-signed binaries"; 50 homepage = "https://github.com/ralphje/signify"; 51 license = licenses.mit; 52 maintainers = with maintainers; [ baloo ]; 53 }; 54}