1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

pythonPackages.routes: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-26 12:48:13 -04:00 committed by Frederik Rietdijk
parent a76d30d039
commit 7eb396609b
2 changed files with 30 additions and 18 deletions

View file

@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, repoze_lru
, six
, webob
, coverage
, webtest
}:
buildPythonPackage rec {
pname = "Routes";
version = "2.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "1zamff3m0kc4vyfniyhxpkkcqv1rrgnmh37ykxv34nna1ws47vi6";
};
propagatedBuildInputs = [ repoze_lru six webob ];
checkInputs = [ coverage webtest ];
meta = with stdenv.lib; {
description = "A Python re-implementation of the Rails routes system for mapping URLs to application actions";
homepage = http://routes.groovie.org/;
license = licenses.mit;
};
}

View file

@ -3634,24 +3634,7 @@ in {
ropper = callPackage ../development/python-modules/ropper { };
routes = buildPythonPackage rec {
pname = "Routes";
version = "2.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "1zamff3m0kc4vyfniyhxpkkcqv1rrgnmh37ykxv34nna1ws47vi6";
};
propagatedBuildInputs = with self; [ repoze_lru six webob ];
checkInputs = with self; [ coverage webtest ];
meta = {
description = "A Python re-implementation of the Rails routes system for mapping URLs to application actions";
homepage = http://routes.groovie.org/;
};
};
routes = callPackage ../development/python-modules/routes { };
rpkg = callPackage ../development/python-modules/rpkg {};