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