python3Packages.humanize: 4.6.0 -> 4.7.0
https://github.com/python-humanize/humanize/releases/tag/4.7.0
This commit is contained in:
parent
de1cfd0e2a
commit
10aed0776a
|
@ -3,7 +3,6 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, freezegun
|
, freezegun
|
||||||
, gettext
|
, gettext
|
||||||
, importlib-metadata
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, hatch-vcs
|
, hatch-vcs
|
||||||
|
@ -12,16 +11,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "humanize";
|
pname = "humanize";
|
||||||
version = "4.6.0";
|
version = "4.7.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "python-humanize";
|
owner = "python-humanize";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-sI773uzh+yMiyu1ebsk6zutfyt+tfx/zT/X2AdH5Fyg=";
|
hash = "sha256-ofRdrFVxIxAtv8WopJDX8Te8yaaJTnDbRM56V7pm/NM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||||
|
@ -32,10 +31,6 @@ buildPythonPackage rec {
|
||||||
gettext
|
gettext
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
|
|
||||||
importlib-metadata
|
|
||||||
];
|
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
scripts/generate-translation-binaries.sh
|
scripts/generate-translation-binaries.sh
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue