Commit 9e3c863a authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.sigstore: refactor

parent 87937015
Loading
Loading
Loading
Loading
+5 −11
Original line number Diff line number Diff line
{ lib
, appdirs
, buildPythonPackage
, cryptography
, fetchFromGitHub

# build-system
, flit-core

# dependencies
, appdirs
, cryptography
, 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; [ ];
  };