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