summaryrefslogtreecommitdiffstats
path: root/pkgs/development/python-modules/sigstore-protobuf-specs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/sigstore-protobuf-specs/default.nix')
-rw-r--r--pkgs/development/python-modules/sigstore-protobuf-specs/default.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sigstore-protobuf-specs/default.nix b/pkgs/development/python-modules/sigstore-protobuf-specs/default.nix
new file mode 100644
index 000000000000..be58c8b5f4cd
--- /dev/null
+++ b/pkgs/development/python-modules/sigstore-protobuf-specs/default.nix
@@ -0,0 +1,43 @@
+{ 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 ];
+ };
+}