pythonPackages.click: 7.0 -> 7.1.1
This commit is contained in:
parent
bcd9b9b847
commit
4588e6a0cd
|
@ -1,31 +1,23 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, locale, pytest }:
|
{ lib, buildPythonPackage, fetchPypi, locale, pytestCheckHook }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "click";
|
pname = "click";
|
||||||
version = "7.0";
|
version = "7.1.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "Click";
|
inherit pname version;
|
||||||
inherit version;
|
sha256 = "1k60i2fvxf8rxazlv04mnsmlsjrj5i5sda3x1ifhr0nqi7mb864a";
|
||||||
sha256 = "5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace click/_unicodefun.py \
|
substituteInPlace src/click/_unicodefun.py \
|
||||||
--replace "'locale'" "'${locale}/bin/locale'"
|
--replace "'locale'" "'${locale}/bin/locale'"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ pytest ];
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
py.test tests
|
|
||||||
'';
|
|
||||||
|
|
||||||
# https://github.com/pallets/click/issues/823
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = http://click.pocoo.org/;
|
homepage = "https://click.palletsprojects.com/";
|
||||||
description = "Create beautiful command line interfaces in Python";
|
description = "Create beautiful command line interfaces in Python";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
A Python package for creating beautiful command line interfaces in a
|
A Python package for creating beautiful command line interfaces in a
|
||||||
|
|
Loading…
Reference in New Issue