12 buildPythonPackage rec {
17 disabled = pythonOlder "3.8";
19 src = fetchFromGitHub {
20 owner = "python-humanize";
22 rev = "refs/tags/${version}";
23 hash = "sha256-bKTzygQtZ/0UB+zM9735a/xwH4KaoU6C8kUGurbHs2Y=";
26 SETUPTOOLS_SCM_PRETEND_VERSION = version;
35 scripts/generate-translation-binaries.sh
39 cp -r 'src/humanize/locale' "$out/lib/"*'/site-packages/humanize/'
47 pythonImportsCheck = [
52 description = "Python humanize utilities";
53 homepage = "https://github.com/python-humanize/humanize";
54 changelog = "https://github.com/python-humanize/humanize/releases/tag/${version}";
55 license = licenses.mit;
56 maintainers = with maintainers; [ rmcgibbo Luflosi ];