python313Packages.sigstore-models: init at 0.0.5
Pydantic-based, protobuf-free data models for Sigstore https://github.com/astral-sh/sigstore-models
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pydantic,
|
||||
typing-extensions,
|
||||
uv-build,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sigstore-models";
|
||||
version = "0.0.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "astral-sh";
|
||||
repo = "sigstore-models";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-zlIZzfgHZPEuiZu3JNX74Cg1jPNaO1HUhMtpxoyOoqk=";
|
||||
};
|
||||
|
||||
build-system = [ uv-build ];
|
||||
|
||||
dependencies = [
|
||||
pydantic
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "sigstore_models" ];
|
||||
|
||||
meta = {
|
||||
description = "Pydantic-based, protobuf-free data models for Sigstore";
|
||||
homepage = "https://github.com/astral-sh/sigstore-models";
|
||||
changelog = "https://github.com/astral-sh/sigstore-models/releases/tag/${src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -16753,6 +16753,8 @@ self: super: with self; {
|
||||
|
||||
sigstore = callPackage ../development/python-modules/sigstore { };
|
||||
|
||||
sigstore-models = callPackage ../development/python-modules/sigstore-models { };
|
||||
|
||||
sigstore-protobuf-specs = callPackage ../development/python-modules/sigstore-protobuf-specs { };
|
||||
|
||||
sigstore-rekor-types = callPackage ../development/python-modules/sigstore-rekor-types { };
|
||||
|
||||
Reference in New Issue
Block a user