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