Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 598 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, repoze_lru 5, six 6, webob 7, coverage 8, webtest 9}: 10 11buildPythonPackage rec { 12 pname = "Routes"; 13 version = "2.4.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "1zamff3m0kc4vyfniyhxpkkcqv1rrgnmh37ykxv34nna1ws47vi6"; 18 }; 19 20 propagatedBuildInputs = [ repoze_lru six webob ]; 21 checkInputs = [ coverage webtest ]; 22 23 meta = with stdenv.lib; { 24 description = "A Python re-implementation of the Rails routes system for mapping URLs to application actions"; 25 homepage = "http://routes.groovie.org/"; 26 license = licenses.mit; 27 }; 28 29}