1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 rstr, 6 sre-yield, 7}: 8 9buildPythonPackage rec { 10 pname = "stringbrewer"; 11 version = "0.0.1"; 12 format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-wtETgi+Tk1ALJzzIM6Ic5zkDbALGL0cELg8X75uepkk="; 17 }; 18 19 propagatedBuildInputs = [ 20 rstr 21 sre-yield 22 ]; 23 24 # Package has no tests 25 doCheck = false; 26 pythonImportsCheck = [ "stringbrewer" ]; 27 28 meta = with lib; { 29 description = "Python library to generate random strings matching a pattern"; 30 homepage = "https://github.com/simoncozens/stringbrewer"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ danc86 ]; 33 }; 34}