summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/sigstore-protobuf-specs/default.nix
blob: 32dc3059947f19050245750e4137eea6b366d1a0 (about) (plain)
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
42
{
  lib,
  pythonOlder,
  flit-core,
  fetchPypi,
  buildPythonPackage,
  betterproto,
  pydantic,
}:

buildPythonPackage rec {
  pname = "sigstore-protobuf-specs";
  version = "0.4.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    pname = "sigstore_protobuf_specs";
    inherit version;
    hash = "sha256-XrWiz2xAvGDrRwPqMcDfm0EKkhU70i3eWj8bT2bvCpA=";
  };

  nativeBuildInputs = [ flit-core ];

  propagatedBuildInputs = [
    betterproto
    pydantic
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "sigstore_protobuf_specs" ];

  meta = with lib; {
    description = "Library for serializing and deserializing Sigstore messages";
    homepage = "https://pypi.org/project/sigstore-protobuf-specs/";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}