14 buildPythonPackage rec {
19 disabled = pythonOlder "3.8";
21 src = fetchFromGitHub {
22 owner = "python-humanize";
24 rev = "refs/tags/${version}";
25 hash = "sha256-zzasFAaWH284IEnWwWKvCL1lt/ItNfdbWhq1K30gSPU=";
35 # Remove dependency on pytest-cov
36 substituteInPlace pyproject.toml --replace-fail \
37 '"ignore:sys.monitoring isn'"'"'t available, using default core:coverage.exceptions.CoverageWarning",' ""
41 scripts/generate-translation-binaries.sh
45 cp -r 'src/humanize/locale' "$out/${python.sitePackages}/humanize/"
53 pythonImportsCheck = [ "humanize" ];
56 description = "Python humanize utilities";
57 homepage = "https://github.com/python-humanize/humanize";
58 changelog = "https://github.com/python-humanize/humanize/releases/tag/${version}";
59 license = licenses.mit;
60 maintainers = with maintainers; [