1{ lib 2, buildPythonPackage 3, fetchPypi 4}: 5 6buildPythonPackage rec { 7 pname = "python-string-utils"; 8 version = "1.0.0"; 9 10 src = fetchPypi { 11 inherit pname version; 12 hash = "sha256-3PkGCwPwdkfApgNAjciwP4B/O1SgXG4Z6xRGAlb6wMs="; 13 }; 14 15 pythonImportsCheck = ["string_utils"]; 16 17 # tests are not available in pypi tarball 18 doCheck = false; 19 20 meta = with lib; { 21 description = "A handy Python library to validate, manipulate and generate strings."; 22 homepage = "https://github.com/daveoncode/python-string-utils"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ teto ]; 25 }; 26}