2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, scrapy, six }:
|
2020-06-07 20:23:12 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "scrapy-splash";
|
|
|
|
version = "0.7.2";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1dg7csdza2hzqskd9b9gx0v3saqsch4f0fwdp0a3p0822aqqi488";
|
|
|
|
};
|
|
|
|
|
2021-01-08 19:09:01 +01:00
|
|
|
propagatedBuildInputs = [ scrapy six ];
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "scrapy_splash" ];
|
2020-06-07 20:23:12 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-06-07 20:23:12 +02:00
|
|
|
description = "Scrapy+Splash for JavaScript integration";
|
|
|
|
homepage = "https://github.com/scrapy-plugins/scrapy-splash";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ evanjs ];
|
|
|
|
};
|
|
|
|
}
|