Commit 3cf58860 authored by Robert Schütz's avatar Robert Schütz
Browse files
parent 463abf4d
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
  importlib-metadata,
  pytestCheckHook,

@@ -17,25 +16,16 @@

buildPythonPackage rec {
  pname = "click";
  version = "8.2.1";
  version = "8.3.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pallets";
    repo = "click";
    tag = version;
    hash = "sha256-3FfLKwpfkiGfY2+H2fQoZwLBqfPlV46xw2Bc4YEsyps=";
    hash = "sha256-MbaIQJr6GbM8JwdbUkbeC8TqWN5dH82pFOqHwJE2PBA=";
  };

  patches = [
    # https://github.com/pallets/click/pull/2940
    (fetchpatch {
      name = "fix-SystemExit-when-using-stdin.patch";
      url = "https://github.com/pallets/click/commit/93c6966eb3a575c2b600434d1cc9f4b3aee505ac.patch";
      hash = "sha256-DkVF0JnKbcsdAhgVjWJEDZZ8vr2sf6wba8P3SyRUy6o=";
    })
  ];

  build-system = [ flit-core ];

  nativeCheckInputs = [ pytestCheckHook ];