1{
2 lib,
3 pythonOlder,
4 flit-core,
5 fetchPypi,
6 buildPythonPackage,
7 betterproto,
8 pydantic,
9}:
10
11buildPythonPackage rec {
12 pname = "sigstore-protobuf-specs";
13 version = "0.3.2";
14 pyproject = true;
15
16 disabled = pythonOlder "3.8";
17
18 src = fetchPypi {
19 pname = "sigstore_protobuf_specs";
20 inherit version;
21 hash = "sha256-yuBBtAUCYAuKYz9DwldpXQIiqU76HlEQp+x62njDnZk=";
22 };
23
24 nativeBuildInputs = [ flit-core ];
25
26 propagatedBuildInputs = [
27 betterproto
28 pydantic
29 ];
30
31 # Module has no tests
32 doCheck = false;
33
34 pythonImportsCheck = [ "sigstore_protobuf_specs" ];
35
36 passthru.skipBulkUpdate = true;
37
38 meta = with lib; {
39 description = "Library for serializing and deserializing Sigstore messages";
40 homepage = "https://pypi.org/project/sigstore-protobuf-specs/";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ fab ];
43 };
44}