mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
41 lines
749 B
Nix
41 lines
749 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 = [ ];
|
|
};
|
|
}
|