diff options
author | Peter Hoeg <peter@hoeg.com> | 2020-03-31 22:43:05 +0800 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-04-03 22:09:47 +0200 |
commit | 4588e6a0cd249a1358d99388d4f6a0725de96f99 (patch) | |
tree | 6b7a54d0d986e21919afb415d59a2958bef20f15 | |
parent | bcd9b9b84749cf1c9820698797ad326b56a19c93 (diff) | |
download | nixlib-4588e6a0cd249a1358d99388d4f6a0725de96f99.tar nixlib-4588e6a0cd249a1358d99388d4f6a0725de96f99.tar.gz nixlib-4588e6a0cd249a1358d99388d4f6a0725de96f99.tar.bz2 nixlib-4588e6a0cd249a1358d99388d4f6a0725de96f99.tar.lz nixlib-4588e6a0cd249a1358d99388d4f6a0725de96f99.tar.xz nixlib-4588e6a0cd249a1358d99388d4f6a0725de96f99.tar.zst nixlib-4588e6a0cd249a1358d99388d4f6a0725de96f99.zip |
pythonPackages.click: 7.0 -> 7.1.1
-rw-r--r-- | pkgs/development/python-modules/click/default.nix | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/pkgs/development/python-modules/click/default.nix b/pkgs/development/python-modules/click/default.nix index 9951b1711b39..ac96ef32618c 100644 --- a/pkgs/development/python-modules/click/default.nix +++ b/pkgs/development/python-modules/click/default.nix @@ -1,31 +1,23 @@ -{ lib, buildPythonPackage, fetchPypi, locale, pytest }: +{ lib, buildPythonPackage, fetchPypi, locale, pytestCheckHook }: buildPythonPackage rec { pname = "click"; - version = "7.0"; + version = "7.1.1"; src = fetchPypi { - pname = "Click"; - inherit version; - sha256 = "5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7"; + inherit pname version; + sha256 = "1k60i2fvxf8rxazlv04mnsmlsjrj5i5sda3x1ifhr0nqi7mb864a"; }; postPatch = '' - substituteInPlace click/_unicodefun.py \ + substituteInPlace src/click/_unicodefun.py \ --replace "'locale'" "'${locale}/bin/locale'" ''; - buildInputs = [ pytest ]; - - checkPhase = '' - py.test tests - ''; - - # https://github.com/pallets/click/issues/823 - doCheck = false; + checkInputs = [ pytestCheckHook ]; meta = with lib; { - homepage = http://click.pocoo.org/; + homepage = "https://click.palletsprojects.com/"; description = "Create beautiful command line interfaces in Python"; longDescription = '' A Python package for creating beautiful command line interfaces in a |