Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 24 lines 603 B view raw
1{ lib, fetchPypi, buildPythonPackage, scrapy, six }: 2 3buildPythonPackage rec { 4 pname = "scrapy-splash"; 5 version = "0.7.2"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1dg7csdza2hzqskd9b9gx0v3saqsch4f0fwdp0a3p0822aqqi488"; 10 }; 11 12 propagatedBuildInputs = [ scrapy six ]; 13 14 # no tests 15 doCheck = false; 16 pythonImportsCheck = [ "scrapy_splash" ]; 17 18 meta = with lib; { 19 description = "Scrapy+Splash for JavaScript integration"; 20 homepage = "https://github.com/scrapy-plugins/scrapy-splash"; 21 license = licenses.bsd3; 22 maintainers = with maintainers; [ evanjs ]; 23 }; 24}