python311Packages.sigstore-rekor-types: init 0.0.11

Python models for Rekor's API types

https://github.com/trailofbits/sigstore-rekor-types
This commit is contained in:
Fabian Affolter 2023-11-30 21:30:09 +01:00
parent faef749c0e
commit 8bbf41185e
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,41 @@
{ lib
, pythonOlder
, pydantic
, flit-core
, fetchFromGitHub
, buildPythonPackage
}:
buildPythonPackage rec {
pname = "sigstore-rekor-types";
version = "0.0.11";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "trailofbits";
repo = "sigstore-rekor-types";
rev = "refs/tags/v${version}";
hash = "sha256-oOFdRiDp9USc3A+aaPExprEO2i/RERNahiyi2kVpkns=";
};
nativeBuildInputs = [
flit-core
];
propagatedBuildInputs = [
pydantic
] ++ pydantic.optional-dependencies.email;
# Module has no tests
doCheck = false;
meta = with lib; {
description = "Python models for Rekor's API types";
homepage = "https://github.com/trailofbits/sigstore-rekor-types";
changelog = "https://github.com/trailofbits/sigstore-rekor-types/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -12911,6 +12911,8 @@ self: super: with self; {
sigrok = callPackage ../development/python-modules/sigrok { };
sigstore-rekor-types = callPackage ../development/python-modules/sigstore-rekor-types { };
sigtools = callPackage ../development/python-modules/sigtools { };
simanneal = callPackage ../development/python-modules/simanneal { };