diff options
author | Andrew Burkett <andrew@andrew-nix.internal.sieinc.com> | 2016-04-21 15:01:44 -0700 |
---|---|---|
committer | Andrew Burkett <burkett.andrew@gmail.com> | 2016-04-21 16:09:18 -0700 |
commit | 0ddf8c7f6fd4241e26016327ec85c5b958bdc32c (patch) | |
tree | 019c3e89875ed8b574f3daca2cc682a40d3bc18a /pkgs/top-level/python-packages.nix | |
parent | ba08f0014de4456fbd2ae3bed4726d2f1121aa1b (diff) | |
download | nixlib-0ddf8c7f6fd4241e26016327ec85c5b958bdc32c.tar nixlib-0ddf8c7f6fd4241e26016327ec85c5b958bdc32c.tar.gz nixlib-0ddf8c7f6fd4241e26016327ec85c5b958bdc32c.tar.bz2 nixlib-0ddf8c7f6fd4241e26016327ec85c5b958bdc32c.tar.lz nixlib-0ddf8c7f6fd4241e26016327ec85c5b958bdc32c.tar.xz nixlib-0ddf8c7f6fd4241e26016327ec85c5b958bdc32c.tar.zst nixlib-0ddf8c7f6fd4241e26016327ec85c5b958bdc32c.zip |
scrapy: init at 1.0.5
Diffstat (limited to 'pkgs/top-level/python-packages.nix')
-rw-r--r-- | pkgs/top-level/python-packages.nix | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3d1e2026a823..77974dff752f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -26423,4 +26423,64 @@ in modules // { }; }; + w3lib = buildPythonPackage rec { + name = "w3lib-${version}"; + version = "1.14.2"; + + buildInputs = with self ; [ six pytest ]; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/w/w3lib/${name}.tar.gz"; + sha256 = "bd87eae62d208eef70869951abf05e96a8ee559714074a485168de4c5b190004"; + }; + + meta = { + description = "A library of web-related functions"; + homepage = "https://github.com/scrapy/w3lib"; + license = licenses.bsd3; + maintainers = with maintainers; [ drewkett ]; + }; + }; + + queuelib = buildPythonPackage rec { + name = "queuelib-${version}"; + version = "1.4.2"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/q/queuelib/${name}.tar.gz"; + sha256 = "a6829918157ed433fafa87b0bb1e93e3e63c885270166db5884a02c34c86f914"; + }; + + buildInputs = with self ; [ pytest ]; + + meta = { + description = "A collection of persistent (disk-based) queues for Python"; + homepage = "https://github.com/scrapy/queuelib"; + license = licenses.bsd3; + maintainers = with maintainers; [ drewkett ]; + }; + }; + + scrapy = buildPythonPackage rec { + name = "Scrapy-${version}"; + version = "1.0.5"; + + disabled = isPy3k; + + buildInputs = with self ; [ pytest ]; + propagatedBuildInputs = with self ; [ six twisted w3lib lxml cssselect queuelib pyopenssl service-identity ]; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/S/Scrapy/${name}.tar.gz"; + sha256 = "0a51c785a310d65f6e70285a2da56d48ef7d049bd7fd60a08eef05c52328ca96"; + }; + + meta = { + description = "A fast high-level web crawling and web scraping framework, used to crawl websites and extract structured data from their pages"; + homepage = "http://scrapy.org/"; + license = licenses.bsd3; + maintainers = with maintainers; [ drewkett ]; + platforms = platforms.linux; + }; + }; } |