9 buildPythonPackage rec {
10 pname = "sev-snp-measure";
15 src = fetchFromGitHub {
17 repo = "sev-snp-measure";
19 hash = "sha256-efW4DMple26S3Jizc7yAvdPjVivyMJq4fEdkuToamGc=";
27 pythonRelaxDeps = [ "cryptography" ];
29 propagatedBuildInputs = [ cryptography ];
32 # See https://github.com/virtee/sev-snp-measure/pull/46
33 sed -i '/types-cryptography/d' setup.cfg requirements.txt
36 pythonImportsCheck = [ "sevsnpmeasure" ];
39 description = "Calculate AMD SEV/SEV-ES/SEV-SNP measurement for confidential computing";
40 homepage = "https://github.com/virtee/sev-snp-measure";
41 changelog = "https://github.com/virtee/sev-snp-measure/releases/tag/v${version}";
42 license = lib.licenses.asl20;
43 maintainers = with lib.maintainers; [ msanft ];
44 mainProgram = "sev-snp-measure";