git.iko.soy/typeable/nixpkgs
on master help sign in
searx: 0.9.0 -> 0.10.0 (#18608)

With a patch to loosen up searx pip dependency requirements. Also includes a minor version bump of pysocks.

commit51314631d6ee153dab70d99f7a08f04a89d23c5e authorProfpatsch <mail@profpatsch.de> dateThu 15 Sep 2016, 17:48 (10 years ago) parentc2a7410
2 files changed+32−6
pkgs/development/python-modules/searx.patch+25 pkgs/top-level/python-packages.nix+7−6
pkgs/development/python-modules/searx.patchnew file+25
@@ -0,0 +1,25 @@
1+diff --git a/requirements.txt b/requirements.txt
2+index 0d2f61b..46481b3 100644
3+--- a/requirements.txt
4++++ b/requirements.txt
5+@@ -1,12 +1,12 @@
6+ certifi==2016.2.28
7+-flask==0.11.1
8+-flask-babel==0.11.1
9+-lxml==3.6.0
10+-ndg-httpsclient==0.4.1
11++flask==0.*
12++flask-babel==0.*
13++lxml==3.*
14++ndg-httpsclient==0.4.*
15+ pyasn1==0.1.9
16+ pyasn1-modules==0.0.8
17+-pygments==2.1.3
18++pygments==2.*
19+ pyopenssl==0.15.1
20+-python-dateutil==2.5.3
21++python-dateutil==2.*
22+-pyyaml==3.11
23++pyyaml==3.*
24+-requests[socks]==2.10.0
25++requests[socks]==2.*
pkgs/top-level/python-packages.nix+7−6
@@ -19679,11 +19679,11 @@ in modules // {
1967919679
1968019680 pysocks = buildPythonPackage rec {
1968119681 name = "pysocks-${version}";
19682− version = "1.5.0";
19682+ version = "1.5.7";
1968319683
1968419684 src = pkgs.fetchurl {
1968519685 url = "mirror://pypi/P/PySocks/PySocks-${version}.tar.gz";
19686− sha256 = "10wq5311qrnk8rvzsh6gwzxi7h51pgvzw3d7s1mb39fsvf0vyjdk";
19686+ sha256 = "124bydbcspzhkb6ynckvgqra1b79rh5mrq98kbyyd202n6a7c775";
1968719687 };
1968819688
1968919689 doCheck = false;
@@ -27037,15 +27037,16 @@ in modules // {
2703727037
2703827038 searx = buildPythonPackage rec {
2703927039 name = "searx-${version}";
27040− version = "0.9.0";
27040+ version = "0.10.0";
2704127041
2704227042 src = pkgs.fetchFromGitHub {
2704327043 owner = "asciimoo";
2704427044 repo = "searx";
2704527045 rev = "v${version}";
27046− sha256 = "030qkrsj4as9anr8xfpk5n41qzg7w4yyjasb4cqislvyl1l1dvvs";
27046+ sha256 = "0j9pnifcrm4kzziip43w2fgadsg1sqlcm7dfxhnshdx03nby2dy2";
2704727047 };
2704827048
27049+ patches = [ ../development/python-modules/searx.patch ];
2704927050 postPatch = ''
2705027051 substituteInPlace requirements.txt \
2705127052 --replace 'certifi==2015.11.20.1' 'certifi==2016.2.28' \
@@ -27055,14 +27056,14 @@ in modules // {
2705527056 propagatedBuildInputs = with self; [
2705627057 pyyaml lxml_3_5 grequests flaskbabel flask requests2
2705727058 gevent speaklater Babel pytz dateutil pygments_2_0
27058− pyasn1 pyasn1-modules ndg-httpsclient certifi
27059+ pyasn1 pyasn1-modules ndg-httpsclient certifi pysocks
2705927060 ];
2706027061
2706127062 meta = {
2706227063 homepage = https://github.com/asciimoo/searx;
2706327064 description = "A privacy-respecting, hackable metasearch engine";
2706427065 license = licenses.agpl3Plus;
27065− maintainers = with maintainers; [ matejc fpletz ];
27066+ maintainers = with maintainers; [ matejc fpletz profpatsch ];
2706627067 };
2706727068 };
2706827069