889482aab3
GitOrigin-RevId: f2537a505d45c31fe5d9c27ea9829b6f4c4e6ac5
33 lines
715 B
Nix
33 lines
715 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, repoze_lru
|
|
, six
|
|
, soupsieve
|
|
, webob
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "routes";
|
|
version = "2.5.1";
|
|
|
|
src = fetchPypi {
|
|
pname = "Routes";
|
|
inherit version;
|
|
sha256 = "b6346459a15f0cbab01a45a90c3d25caf980d4733d628b4cc1952b865125d053";
|
|
};
|
|
|
|
propagatedBuildInputs = [ repoze_lru six soupsieve webob ];
|
|
|
|
# incompatible with latest soupsieve
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "routes" ];
|
|
|
|
meta = with lib; {
|
|
description = "Re-implementation of the Rails routes system for mapping URLs to application actions";
|
|
homepage = "https://github.com/bbangert/routes";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|