depot/third_party/nixpkgs/pkgs/development/python-modules/sigstore-protobuf-specs/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

43 lines
823 B
Nix

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