2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, scrapy, six }:
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "scrapy-splash";
|
2021-10-06 13:57:05 +00:00
|
|
|
version = "0.8.0";
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-10-06 13:57:05 +00:00
|
|
|
sha256 = "a7c17735415151ae01f07b03c7624e7276a343779b3c5f4546f655f6133df42f";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
propagatedBuildInputs = [ scrapy six ];
|
2020-06-18 07:06:33 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "scrapy_splash" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-06-18 07:06:33 +00:00
|
|
|
description = "Scrapy+Splash for JavaScript integration";
|
|
|
|
homepage = "https://github.com/scrapy-plugins/scrapy-splash";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ evanjs ];
|
|
|
|
};
|
|
|
|
}
|