1{ lib 2, buildPythonPackage 3, fetchPypi 4, repoze_lru 5, six 6, soupsieve 7, webob 8, coverage 9, webtest 10}: 11 12buildPythonPackage rec { 13 pname = "Routes"; 14 version = "2.5.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "b6346459a15f0cbab01a45a90c3d25caf980d4733d628b4cc1952b865125d053"; 19 }; 20 21 propagatedBuildInputs = [ repoze_lru six soupsieve webob ]; 22 # incompatible with latest soupsieve 23 doCheck = false; 24 checkInputs = [ coverage soupsieve webtest ]; 25 26 pythonImportsCheck = [ "routes" ]; 27 28 meta = with lib; { 29 description = "A Python re-implementation of the Rails routes system for mapping URLs to application actions"; 30 homepage = "http://routes.groovie.org/"; 31 license = licenses.mit; 32 }; 33 34}