1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6 pythonOlder, 7 regex, 8}: 9 10buildPythonPackage rec { 11 pname = "rebulk"; 12 version = "3.2.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-DTC/gPygD6nGlxhaxHXarJveX2Rs4zOMn/XV3B69/rw="; 20 }; 21 22 propagatedBuildInputs = [ regex ]; 23 24 buildInputs = [ pytestCheckHook ]; 25 26 pythonImportsCheck = [ "rebulk" ]; 27 28 meta = with lib; { 29 description = "Advanced string matching from simple patterns"; 30 homepage = "https://github.com/Toilal/rebulk/"; 31 changelog = "https://github.com/Toilal/rebulk/blob/v${version}/CHANGELOG.md"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ ]; 34 }; 35}