9 buildPythonPackage rec {
10 pname = "sev-snp-measure";
15 src = fetchFromGitHub {
17 repo = "sev-snp-measure";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-M+d9uIAQvEmEsdhhjlwHbhB2RhlaGjphN4ov2ipzCFY=";
26 pythonRelaxDeps = [ "cryptography" ];
28 propagatedBuildInputs = [ cryptography ];
30 pythonImportsCheck = [ "sevsnpmeasure" ];
33 description = "Calculate AMD SEV/SEV-ES/SEV-SNP measurement for confidential computing";
34 homepage = "https://github.com/virtee/sev-snp-measure";
35 changelog = "https://github.com/virtee/sev-snp-measure/releases/tag/v${version}";
36 license = lib.licenses.asl20;
37 maintainers = with lib.maintainers; [ msanft ];
38 mainProgram = "sev-snp-measure";