From 508d862dc72a4c2a1cb06700ab28ac319961e925 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 9 Oct 2021 00:04:20 +0000 Subject: [PATCH] python39Packages.scrapy: 2.5.0 -> 2.5.1 https://github.com/scrapy/scrapy/releases/tag/2.5.1 --- .../python-modules/scrapy/default.nix | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/scrapy/default.nix b/pkgs/development/python-modules/scrapy/default.nix index e19e502af269..dd06a04e080a 100644 --- a/pkgs/development/python-modules/scrapy/default.nix +++ b/pkgs/development/python-modules/scrapy/default.nix @@ -4,7 +4,7 @@ , buildPythonPackage , cryptography , cssselect -, fetchFromGitHub +, fetchPypi , fetchpatch , glibcLocales , installShellFiles @@ -31,14 +31,13 @@ buildPythonPackage rec { pname = "scrapy"; - version = "2.5.0"; + version = "2.5.1"; disabled = pythonOlder "3.6"; - src = fetchFromGitHub { - owner = pname; - repo = pname; - rev = version; - sha256 = "09lxnjz1cw37i9bgk8sci2xxknj20gi2lq8l7i0b3xw7q8bxzp7h"; + src = fetchPypi { + inherit version; + pname = "Scrapy"; + sha256 = "13af6032476ab4256158220e530411290b3b934dd602bb6dacacbf6d16141f49"; }; nativeBuildInputs = [ @@ -82,7 +81,8 @@ buildPythonPackage rec { (fetchpatch { name = "remove-h2.patch"; url = "https://github.com/scrapy/scrapy/commit/c5b1ee810167266fcd259f263dbfc0fe0204761a.patch"; - sha256 = "1gw28wg8qcb0al59rz214hm17smspi6j5kg62nr1r850pykyrsqk"; + sha256 = "0sa39yx9my4nqww8a12bk9zagx7b56vwy7xpxm4xgjapjl6mcc0k"; + excludes = [ "tox.ini" ]; }) ]; @@ -140,6 +140,7 @@ buildPythonPackage rec { range of purposes, from data mining to monitoring and automated testing. ''; homepage = "https://scrapy.org/"; + changelog = "https://github.com/scrapy/scrapy/raw/${version}/docs/news.rst"; license = licenses.bsd3; maintainers = with maintainers; [ drewkett marsam ]; platforms = platforms.unix;