nixpkgs/pkgs/development/python-modules/scrapy-splash/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

25 lines
600 B
Nix

{ lib, fetchPypi, buildPythonPackage, scrapy, six }:
buildPythonPackage rec {
pname = "scrapy-splash";
version = "0.9.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-7PEwJk3AjgxGHIYH7K13dGimStAd7bJinA+BvV/NcpU=";
};
propagatedBuildInputs = [ scrapy six ];
# no tests
doCheck = false;
pythonImportsCheck = [ "scrapy_splash" ];
meta = with lib; {
description = "Scrapy+Splash for JavaScript integration";
homepage = "https://github.com/scrapy-plugins/scrapy-splash";
license = licenses.bsd3;
maintainers = with maintainers; [ evanjs ];
};
}