depot/third_party/nixpkgs/pkgs/development/python-modules/sigstore-protobuf-specs/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

43 lines
823 B
Nix

{ lib
, pythonOlder
, flit-core
, fetchPypi
, buildPythonPackage
, betterproto
}:
buildPythonPackage rec {
pname = "sigstore-protobuf-specs";
version = "0.3.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "sigstore_protobuf_specs";
inherit version;
hash = "sha256-xAthl1uVeukG6ymlvHBA7AFbaLa0YAXMWAXmKUk+jew=";
};
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 ];
};
}