blob: a58595ed19a9e8ec01ca8c4f9d4fbe59e97ff38d (
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.11";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "trailofbits";
repo = "sigstore-rekor-types";
rev = "refs/tags/v${version}";
hash = "sha256-oOFdRiDp9USc3A+aaPExprEO2i/RERNahiyi2kVpkns=";
};
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 ];
};
}
|