biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / itemloaders / default.nix
blobbd6e8b884ac10ea0df506a4c2acb45d38fff88eb
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   setuptools,
7   w3lib,
8   parsel,
9   jmespath,
10   itemadapter,
11   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "itemloaders";
16   version = "1.3.1";
17   pyproject = true;
19   disabled = pythonOlder "3.8";
21   src = fetchFromGitHub {
22     owner = "scrapy";
23     repo = "itemloaders";
24     rev = "refs/tags/v${version}";
25     hash = "sha256-u0/WsvLn2YlYd/FuH26T9qEGRGscipnOQbV9uPv4F+M=";
26   };
28   nativeBuildInputs = [ setuptools ];
30   propagatedBuildInputs = [
31     w3lib
32     parsel
33     jmespath
34     itemadapter
35   ];
37   nativeCheckInputs = [ pytestCheckHook ];
39   pythonImportsCheck = [ "itemloaders" ];
41   meta = with lib; {
42     description = "Library to populate items using XPath and CSS with a convenient API";
43     homepage = "https://github.com/scrapy/itemloaders";
44     changelog = "https://github.com/scrapy/itemloaders/raw/v${version}/docs/release-notes.rst";
45     license = licenses.bsd3;
46     maintainers = [ ];
47   };