depot/third_party/nixpkgs/pkgs/development/python-modules/signify/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

54 lines
1.1 KiB
Nix

{
lib,
asn1crypto,
buildPythonPackage,
certvalidator,
fetchFromGitHub,
mscerts,
oscrypto,
pyasn1,
pyasn1-modules,
pytestCheckHook,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "signify";
version = "0.6.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ralphje";
repo = "signify";
rev = "refs/tags/v${version}";
hash = "sha256-29SyzqtZ1cI+1xrSPLFr63vwB5st/9i5b3FYtJn6eok=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
asn1crypto
certvalidator
mscerts
oscrypto
pyasn1
pyasn1-modules
typing-extensions
];
pythonImportsCheck = [ "signify" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
changelog = "https://github.com/ralphje/signify/blob/${src.rev}/docs/changelog.rst";
description = "library that verifies PE Authenticode-signed binaries";
homepage = "https://github.com/ralphje/signify";
license = licenses.mit;
maintainers = with maintainers; [ baloo ];
};
}