git.iko.soy/typeable/nixpkgs
on master help sign in
searx: 0.16.0 -> 0.17.0
commit624425c6b4a179dbf344605a506c81757b31ca5f authorDaniel Fullmer <danielrf12@gmail.com> dateThu 9 Jul 2020, 11:28 (6 years ago) parentdc80d7b
1 file changed+3−24
pkgs/servers/web-apps/searx/default.nix+3−24
pkgs/servers/web-apps/searx/default.nix+3−24
@@ -4,39 +4,18 @@ with python3Packages;
44
55buildPythonApplication rec {
66 pname = "searx";
7− version = "0.16.0";
7+ version = "0.17.0";
88
99 # Can not use PyPI because certain test files are missing.
1010 src = fetchFromGitHub {
1111 owner = "asciimoo";
1212 repo = "searx";
1313 rev = "v${version}";
14− sha256 = "0hfa4nmis98yvghxw866rzjpmhb2ln8l6l8g9yx4m79b2lk76xcs";
14+ sha256 = "0pznz3wsaikl8khmzqvj05kzh5y07hjw8gqhy6x0lz1b00cn5af4";
1515 };
1616
17− patches = [(fetchpatch {
18− url = "https://github.com/asciimoo/searx/commit/b8b13372c8fd3bfe978a1c724ab98b05348df054.patch";
19− sha256 = "1zc3dx8pgqfg0bj48ihckjk9xrrm33jlnmj8k02g17gfcmj7566a";
20− })];
21−
2217 postPatch = ''
23− substituteInPlace requirements.txt \
24− --replace 'certifi==2019.3.9' 'certifi' \
25− --replace 'flask==1.0.2' 'flask' \
26− --replace 'flask-babel==0.12.2' 'flask-babel' \
27− --replace 'jinja2==2.10.1' 'jinja2' \
28− --replace 'lxml==4.3.3' 'lxml' \
29− --replace 'idna==2.8' 'idna' \
30− --replace 'pygments==2.1.3' 'pygments>=2.1,<3.0' \
31− --replace 'pyopenssl==19.0.0' 'pyopenssl' \
32− --replace 'python-dateutil==2.8.0' 'python-dateutil==2.8.*' \
33− --replace 'pyyaml==5.1' 'pyyaml' \
34− --replace 'requests[socks]==2.22.0' 'requests[socks]'
35− substituteInPlace requirements-dev.txt \
36− --replace 'plone.testing==5.0.0' 'plone.testing' \
37− --replace 'pep8==1.7.0' 'pep8==1.7.*' \
38− --replace 'splinter==0.11.0' 'splinter' \
39− --replace 'selenium==3.141.0' 'selenium'
18+ sed -i 's/==.*$//' requirements.txt
4019 '';
4120
4221 propagatedBuildInputs = [