linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)
[NixPkgs.git] / pkgs / development / python-modules / itemloaders / default.nix
blobde2b1e902702cecb002465ce4198b47d3a1c7a5a
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.2";
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-Hs3FodJAWZGeo+kMmcto5WW433RekwVuucaJl8TKc+0=";
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   };