Skip to content

Commit

Permalink
python39Packages.click: 8.0.4 -> 8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored and risicle committed Apr 3, 2022
1 parent 566187c commit 330f9be
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions pkgs/development/python-modules/click/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
, pythonOlder
, fetchPypi
, importlib-metadata
, locale
, pytestCheckHook

# large-rebuild downstream dependencies
Expand All @@ -17,18 +16,14 @@

buildPythonPackage rec {
pname = "click";
version = "8.0.4";
version = "8.1.0";
disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
sha256 = "sha256-hFjXsSh8X7EoyQ4jOBz5nc3nS+r2x/9jhM6E1v4JCts=";
sha256 = "sha256-l3whNHPHZl06oJK0H/EgYyJ3UcQdexcWUBPhAGnMXNI=";
};

postPatch = ''
substituteInPlace src/click/_unicodefun.py \
--replace '"locale"' "'${locale}/bin/locale'"
'';

propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
Expand Down

0 comments on commit 330f9be

Please sign in to comment.