depot/third_party/nixpkgs/pkgs/development/python-modules/sigstore-protobuf-specs/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

43 lines
823 B
Nix

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