python311Packages.sigstore: refactor

This commit is contained in:
Fabian Affolter
2024-01-19 09:13:45 +01:00
parent 8793701584
commit 9e3c863a43
@@ -1,27 +1,21 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
# build-system
, flit-core
# dependencies
, appdirs
, buildPythonPackage
, cryptography
, fetchFromGitHub
, flit-core
, id
, importlib-resources
, pydantic
, pyjwt
, pyopenssl
, pytestCheckHook
, requests
, rich
, securesystemslib
, sigstore-protobuf-specs
, sigstore-rekor-types
, tuf
# tests
, pytestCheckHook
}:
buildPythonPackage rec {
@@ -32,7 +26,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "sigstore";
repo = "sigstore-python";
rev = "v${version}";
rev = "refs/tags/v${version}";
hash = "sha256-WH6Pme8ZbfW5xqBT056eVJ3HZP1D/lAULtyN6k0uMaA=";
};
@@ -67,7 +61,7 @@ buildPythonPackage rec {
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";
changelog = "https://github.com/sigstore/sigstore-python/blob/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};