python311Packages.sigstore: init at 2.1.0
Packaged as a dependency for aiogithubapi.
This commit is contained in:
parent
66eb1ebea9
commit
0b7ce9c369
2 changed files with 76 additions and 0 deletions
74
pkgs/development/python-modules/sigstore/default.nix
Normal file
74
pkgs/development/python-modules/sigstore/default.nix
Normal file
|
@ -0,0 +1,74 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, flit-core
|
||||
|
||||
# dependencies
|
||||
, appdirs
|
||||
, cryptography
|
||||
, id
|
||||
, importlib-resources
|
||||
, pydantic
|
||||
, pyjwt
|
||||
, pyopenssl
|
||||
, requests
|
||||
, rich
|
||||
, securesystemslib
|
||||
, sigstore-protobuf-specs
|
||||
, sigstore-rekor-types
|
||||
, tuf
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sigstore-python";
|
||||
version = "2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sigstore";
|
||||
repo = "sigstore-python";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-WH6Pme8ZbfW5xqBT056eVJ3HZP1D/lAULtyN6k0uMaA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
cryptography
|
||||
id
|
||||
importlib-resources
|
||||
pydantic
|
||||
pyjwt
|
||||
pyopenssl
|
||||
requests
|
||||
rich
|
||||
securesystemslib
|
||||
sigstore-protobuf-specs
|
||||
sigstore-rekor-types
|
||||
tuf
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sigstore"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A codesigning tool for Python packages";
|
||||
homepage = "https://github.com/sigstore/sigstore-python";
|
||||
changelog = "https://github.com/sigstore/sigstore-python/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
|
@ -13108,6 +13108,8 @@ self: super: with self; {
|
|||
|
||||
sigrok = callPackage ../development/python-modules/sigrok { };
|
||||
|
||||
sigstore = callPackage ../development/python-modules/sigstore { };
|
||||
|
||||
sigstore-protobuf-specs = callPackage ../development/python-modules/sigstore-protobuf-specs { };
|
||||
|
||||
sigstore-rekor-types = callPackage ../development/python-modules/sigstore-rekor-types { };
|
||||
|
|
Loading…
Reference in a new issue