Merge pull request #271295 from fabaff/sigstore-protobuf-specs
python311Packages.sigstore-rekor-types: init 0.0.11, python311Packages.sigstore-protobuf-specs: init at 0.2.2
This commit is contained in:
commit
fa73cef7f8
3 changed files with 88 additions and 0 deletions
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -12931,6 +12931,10 @@ self: super: with self; {
|
||||||
|
|
||||||
sigrok = callPackage ../development/python-modules/sigrok { };
|
sigrok = callPackage ../development/python-modules/sigrok { };
|
||||||
|
|
||||||
|
sigstore-protobuf-specs = callPackage ../development/python-modules/sigstore-protobuf-specs { };
|
||||||
|
|
||||||
|
sigstore-rekor-types = callPackage ../development/python-modules/sigstore-rekor-types { };
|
||||||
|
|
||||||
sigtools = callPackage ../development/python-modules/sigtools { };
|
sigtools = callPackage ../development/python-modules/sigtools { };
|
||||||
|
|
||||||
simanneal = callPackage ../development/python-modules/simanneal { };
|
simanneal = callPackage ../development/python-modules/simanneal { };
|
||||||
|
|
Loading…
Reference in a new issue