-
Notifications
You must be signed in to change notification settings - Fork 0
/
scrapy.nix
69 lines (58 loc) · 1.93 KB
/
scrapy.nix
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{ stdenv, pythonPackages, fetchurl }:
let
cssselect09 = pythonPackages.buildPythonPackage rec {
name = "cssselect-0.9.1";
propagatedBuildInputs = with pythonPackages; [ lxml ];
src = fetchurl {
url = "https://pypi.python.org/packages/source/c/cssselect/cssselect-0.9.1.tar.gz";
md5 = "c74f45966277dc7a0f768b9b0f3522ac";
};
meta = with stdenv.lib; {
description = "===================================";
homepage = http://packages.python.org/cssselect/;
license = licenses.bsd3;
};
};
queuelib = pythonPackages.buildPythonPackage rec {
name = "queuelib-1.2.2";
propagatedBuildInputs = with pythonPackages; [ ];
src = fetchurl {
url = "https://pypi.python.org/packages/source/q/queuelib/queuelib-1.2.2.tar.gz";
md5 = "90cd84e977896fa50cde6aa3df7fc45f";
};
meta = with stdenv.lib; {
description = "========";
homepage = https://github.com/scrapy/queuelib;
license = licenses.bsd3;
};
};
w3lib = pythonPackages.buildPythonPackage rec {
name = "w3lib-1.11.0";
propagatedBuildInputs = with pythonPackages; [ six ];
src = fetchurl {
url = "https://pypi.python.org/packages/source/w/w3lib/w3lib-1.11.0.tar.gz";
md5 = "0ecadf121a90f1ac182b739a7d028ae2";
};
meta = with stdenv.lib; {
description = "=====";
homepage = https://github.com/scrapy/w3lib;
license = licenses.bsd3;
};
};
in
pythonPackages.buildPythonPackage rec {
name = "Scrapy-1.0.1";
propagatedBuildInputs = with pythonPackages; [
lxml ipaddress pyopenssl cryptography pycparser six
twisted queuelib cssselect09 w3lib
];
src = fetchurl {
url = "https://pypi.python.org/packages/source/S/Scrapy/Scrapy-1.0.1.tar.gz";
md5 = "1e402933ead46f002bdd11b8d8cf52b7";
};
meta = with stdenv.lib; {
description = "======";
homepage = http://scrapy.org;
license = licenses.bsd;
};
}