1{ lib 2, buildPythonPackage 3, fetchPypi 4, six 5}: 6 7buildPythonPackage rec { 8 pname = "repath"; 9 version = "0.9.0"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-gpITm6xqDkP9nXBgXU6NrrJdRmcuSE7TGiTHzgrvD7c="; 14 }; 15 16 propagatedBuildInputs = [ 17 six 18 ]; 19 20 pythonImportsCheck = [ 21 "repath" 22 ]; 23 24 meta = { 25 description = "A port of the node module path-to-regexp to Python"; 26 homepage = "https://github.com/nickcoutsos/python-repath"; 27 license = lib.licenses.mit; 28 maintainers = [ lib.maintainers.heyimnova ]; 29 }; 30}