depot/third_party/nixpkgs/pkgs/development/python-modules/sigstore-protobuf-specs/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

38 lines
813 B
Nix

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