at master 749 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 repoze-lru, 6 six, 7 soupsieve, 8 webob, 9}: 10 11buildPythonPackage rec { 12 pname = "routes"; 13 version = "2.5.1"; 14 format = "setuptools"; 15 16 src = fetchPypi { 17 pname = "Routes"; 18 inherit version; 19 sha256 = "b6346459a15f0cbab01a45a90c3d25caf980d4733d628b4cc1952b865125d053"; 20 }; 21 22 propagatedBuildInputs = [ 23 repoze-lru 24 six 25 soupsieve 26 webob 27 ]; 28 29 # incompatible with latest soupsieve 30 doCheck = false; 31 32 pythonImportsCheck = [ "routes" ]; 33 34 meta = with lib; { 35 description = "Re-implementation of the Rails routes system for mapping URLs to application actions"; 36 homepage = "https://github.com/bbangert/routes"; 37 license = licenses.mit; 38 maintainers = [ ]; 39 }; 40}