about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/sigstore-protobuf-specs/default.nix
blob: 5e89670edef684dd059008baab0fd9049e0f322c (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
42
43
{ lib
, pythonOlder
, flit-core
, fetchPypi
, buildPythonPackage
, betterproto
}:

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

  disabled = pythonOlder "3.8";

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

  nativeBuildInputs = [
    flit-core
  ];

  propagatedBuildInputs = [
    betterproto
  ];

  # 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 ];
  };
}