nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 32 lines 739 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy27 5, setuptools-scm 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "inflect"; 11 version = "5.4.0"; 12 disabled = isPy27; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "sha256-tY1YxOc//KmyXgdcHE/Jyt7LtcmdfNnzze3ac+zoPBw="; 17 }; 18 19 nativeBuildInputs = [ setuptools-scm ]; 20 21 checkInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "inflect" ]; 24 25 meta = with lib; { 26 description = "Correctly generate plurals, singular nouns, ordinals, indefinite articles"; 27 homepage = "https://github.com/jaraco/inflect"; 28 changelog = "https://github.com/jaraco/inflect/blob/v${version}/CHANGES.rst"; 29 license = licenses.mit; 30 maintainers = teams.tts.members; 31 }; 32}