diff options
Diffstat (limited to 'pkgs/development/python-modules/itemloaders/default.nix')
-rw-r--r-- | pkgs/development/python-modules/itemloaders/default.nix | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/itemloaders/default.nix b/pkgs/development/python-modules/itemloaders/default.nix index e6098208033..aa8d2acf1c9 100644 --- a/pkgs/development/python-modules/itemloaders/default.nix +++ b/pkgs/development/python-modules/itemloaders/default.nix @@ -11,20 +11,28 @@ buildPythonPackage rec { pname = "itemloaders"; - version = "1.0.4"; + version = "1.0.5"; + format = "setuptools"; + disabled = pythonOlder "3.6"; - # Tests not included in PyPI tarball src = fetchFromGitHub { owner = "scrapy"; repo = pname; rev = "v${version}"; - sha256 = "0j68xgx2z63sc1nc9clw6744036vfbijdsghvjv6pk674d5lgyam"; + hash = "sha256-ueq1Rsuae+wz4eFc1O7luBVR4XWGbefpDr124H6j56g="; }; - propagatedBuildInputs = [ w3lib parsel jmespath itemadapter ]; + propagatedBuildInputs = [ + w3lib + parsel + jmespath + itemadapter + ]; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + ]; disabledTests = [ # Test are failing (AssertionError: Lists differ: ...) @@ -32,12 +40,15 @@ buildPythonPackage rec { "test_nested_xpath" ]; - pythonImportsCheck = [ "itemloaders" ]; + pythonImportsCheck = [ + "itemloaders" + ]; meta = with lib; { description = "Base library for scrapy's ItemLoader"; homepage = "https://github.com/scrapy/itemloaders"; + changelog = "https://github.com/scrapy/itemloaders/raw/v${version}/docs/release-notes.rst"; license = licenses.bsd3; - maintainers = [ maintainers.marsam ]; + maintainers = with maintainers; [ marsam ]; }; } |