blob: b7d96f9ed10e01ca81bf1d80e6721b064fb03869 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ lib
, pythonOlder
, pydantic
, flit-core
, fetchFromGitHub
, buildPythonPackage
}:
buildPythonPackage rec {
pname = "sigstore-rekor-types";
version = "0.0.12";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "trailofbits";
repo = "sigstore-rekor-types";
rev = "refs/tags/v${version}";
hash = "sha256-B6u2YbtZtgjYJoWL2DfgP7LL20onNaaTTFbC6JIA4bE=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
pydantic
] ++ pydantic.optional-dependencies.email;
# Module has no tests
doCheck = false;
meta = with lib; {
description = "Python models for Rekor's API types";
homepage = "https://github.com/trailofbits/sigstore-rekor-types";
changelog = "https://github.com/trailofbits/sigstore-rekor-types/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}
|