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