about summary refs log tree commit diff
path: root/pkgs/development/python-modules/routes/default.nix
blob: 925653572f3638d89ec21fc0346a335b82b6bf88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  lib,
  buildPythonPackage,
  fetchPypi,
  repoze-lru,
  six,
  soupsieve,
  webob,
}:

buildPythonPackage rec {
  pname = "routes";
  version = "2.5.1";
  format = "setuptools";

  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 = [ ];
  };
}