nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 flit-core,
4 fetchPypi,
5 buildPythonPackage,
6 betterproto,
7 pydantic,
8}:
9
10buildPythonPackage rec {
11 pname = "sigstore-protobuf-specs";
12 version = "0.5.0";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "sigstore_protobuf_specs";
17 inherit version;
18 hash = "sha256-zvnrMrLGwlHeNuIoWkCq8glIJ+rhifXngE10jMw9W4E=";
19 };
20
21 nativeBuildInputs = [ flit-core ];
22
23 propagatedBuildInputs = [
24 betterproto
25 pydantic
26 ];
27
28 # Module has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [ "sigstore_protobuf_specs" ];
32
33 passthru.skipBulkUpdate = true;
34
35 meta = {
36 description = "Library for serializing and deserializing Sigstore messages";
37 homepage = "https://github.com/sigstore/protobuf-specs/tree/main/gen/pb-python";
38 license = lib.licenses.asl20;
39 maintainers = with lib.maintainers; [ fab ];
40 };
41}