1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hypothesis, 6 pytest-twisted, 7 pytestCheckHook, 8 scrapy, 9 setuptools, 10 six, 11}: 12 13buildPythonPackage rec { 14 pname = "scrapy-splash"; 15 version = "0.11.1"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "scrapy-plugins"; 20 repo = "scrapy-splash"; 21 tag = version; 22 hash = "sha256-eOWqSCuuZtUtaEuAew4g0P67N0zClaguHn2u4ZMT3FU="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 scrapy 29 six 30 ]; 31 32 pythonImportsCheck = [ "scrapy_splash" ]; 33 34 nativeCheckInputs = [ 35 hypothesis 36 pytest-twisted 37 pytestCheckHook 38 ]; 39 40 meta = { 41 changelog = "https://github.com/scrapy-plugins/scrapy-splash/blob/${src.tag}/CHANGES.rst"; 42 description = "Scrapy+Splash for JavaScript integration"; 43 homepage = "https://github.com/scrapy-plugins/scrapy-splash"; 44 license = lib.licenses.bsd3; 45 maintainers = with lib.maintainers; [ evanjs ]; 46 }; 47}