blob: 112fc565d0083c8caa9d025272643ee161017af1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pydantic,
typing-extensions,
uv-build,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "sigstore-models";
version = "0.0.6";
pyproject = true;
src = fetchFromGitHub {
owner = "astral-sh";
repo = "sigstore-models";
tag = "v${finalAttrs.version}";
hash = "sha256-XuCTS5rADDaCVRZprgEtJVUdGWX3ORij7kXPn87y+m4=";
};
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/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})
|