python3Packages.in-toto-attestation: init at 0.9.3

This commit is contained in:
Gaetan Lepage
2025-11-12 12:53:30 +00:00
parent 879ff6c96d
commit dd84201d6e
2 changed files with 46 additions and 0 deletions
@@ -0,0 +1,44 @@
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
hatchling,
# dependencies
protobuf,
}:
buildPythonPackage rec {
pname = "in-toto-attestation";
version = "0.9.3";
pyproject = true;
# Tags on GitHub do not match the Pypi versions
src = fetchPypi {
pname = "in_toto_attestation";
inherit version;
hash = "sha256-zAz5dBfZSVO5/ubp1BWhHFm01HzuTxN0b/6TWyjj6MQ=";
};
build-system = [
hatchling
];
dependencies = [
protobuf
];
pythonImportsCheck = [ "in_toto_attestation" ];
# No tests in the Pypi archive
doCheck = false;
meta = {
description = "Python implementation of in-toto attestations";
homepage = "https://github.com/in-toto/attestation/tree/main/python";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
+2
View File
@@ -7142,6 +7142,8 @@ self: super: with self; {
in-place = callPackage ../development/python-modules/in-place { };
in-toto-attestation = callPackage ../development/python-modules/in-toto-attestation { };
incomfort-client = callPackage ../development/python-modules/incomfort-client { };
incremental = callPackage ../development/python-modules/incremental { };