evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / sev-snp-measure / default.nix
blob886bdf993632d00143da2357775c43af221a9618
2   buildPythonPackage,
3   cryptography,
4   fetchFromGitHub,
5   lib,
6   setuptools,
7 }:
9 buildPythonPackage rec {
10   pname = "sev-snp-measure";
11   version = "0.0.11";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "virtee";
17     repo = "sev-snp-measure";
18     rev = "refs/tags/v${version}";
19     hash = "sha256-M+d9uIAQvEmEsdhhjlwHbhB2RhlaGjphN4ov2ipzCFY=";
20   };
22   nativeBuildInputs = [
23     setuptools
24   ];
26   pythonRelaxDeps = [ "cryptography" ];
28   propagatedBuildInputs = [ cryptography ];
30   pythonImportsCheck = [ "sevsnpmeasure" ];
32   meta = {
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";
39   };