depot/third_party/nixpkgs/pkgs/development/python-modules/routes/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
767 B
Nix

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