python3Packages.click: 7.1.2 -> 8.0.1
This commit is contained in:
parent
6bdc4f3fe2
commit
c3a6853878
1 changed files with 17 additions and 4 deletions
|
@ -1,12 +1,19 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, locale, pytestCheckHook }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, importlib-metadata
|
||||
, locale
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "click";
|
||||
version = "7.1.2";
|
||||
version = "8.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a";
|
||||
sha256 = "0ymdyf37acq4qxh038q0xx44qgj6y2kf0jd0ivvix6qij88w214c";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -14,7 +21,13 @@ buildPythonPackage rec {
|
|||
--replace "'locale'" "'${locale}/bin/locale'"
|
||||
'';
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://click.palletsprojects.com/";
|
||||
|
|
Loading…
Reference in a new issue