git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #141068 from marsam/update-scrapy

python39Packages.scrapy: 2.5.0 -> 2.5.1

commitc52c3ab49e93cd2a81010eb12065e08db5b81652 authorMario Rodas <marsam@users.noreply.github.com> dateSat 9 Oct 2021, 08:43 (5 years ago) parentd486d00508d862
1 file changed+9−8
pkgs/development/python-modules/scrapy/default.nix+9−8
pkgs/development/python-modules/scrapy/default.nix+9−8
@@ -4,7 +4,7 @@
44, buildPythonPackage
55, cryptography
66, cssselect
7−, fetchFromGitHub
7+, fetchPypi
88, fetchpatch
99, glibcLocales
1010, installShellFiles
@@ -31,14 +31,13 @@
3131
3232buildPythonPackage rec {
3333 pname = "scrapy";
34− version = "2.5.0";
34+ version = "2.5.1";
3535 disabled = pythonOlder "3.6";
3636
37− src = fetchFromGitHub {
38− owner = pname;
39− repo = pname;
40− rev = version;
41− sha256 = "09lxnjz1cw37i9bgk8sci2xxknj20gi2lq8l7i0b3xw7q8bxzp7h";
37+ src = fetchPypi {
38+ inherit version;
39+ pname = "Scrapy";
40+ sha256 = "13af6032476ab4256158220e530411290b3b934dd602bb6dacacbf6d16141f49";
4241 };
4342
4443 nativeBuildInputs = [
@@ -82,7 +81,8 @@ buildPythonPackage rec {
8281 (fetchpatch {
8382 name = "remove-h2.patch";
8483 url = "https://github.com/scrapy/scrapy/commit/c5b1ee810167266fcd259f263dbfc0fe0204761a.patch";
85− sha256 = "1gw28wg8qcb0al59rz214hm17smspi6j5kg62nr1r850pykyrsqk";
84+ sha256 = "0sa39yx9my4nqww8a12bk9zagx7b56vwy7xpxm4xgjapjl6mcc0k";
85+ excludes = [ "tox.ini" ];
8686 })
8787 ];
8888
@@ -140,6 +140,7 @@ buildPythonPackage rec {
140140 range of purposes, from data mining to monitoring and automated testing.
141141 '';
142142 homepage = "https://scrapy.org/";
143+ changelog = "https://github.com/scrapy/scrapy/raw/${version}/docs/news.rst";
143144 license = licenses.bsd3;
144145 maintainers = with maintainers; [ drewkett marsam ];
145146 platforms = platforms.unix;