blob: 5c0b0b88898538b2a5be125ceffe72082b253cca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
{
lib,
attrs,
buildPythonPackage,
fetchPypi,
hatchling,
pydantic,
pythonOlder,
scrapy,
}:
buildPythonPackage rec {
pname = "itemadapter";
version = "0.12.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-pQiCQ+iO/jCY8XIIVecHF25zVa2H0dIOKwMpf10V0b4=";
};
build-system = [ hatchling ];
optional-dependencies = {
attrs = [ attrs ];
pydantic = [ pydantic ];
scrapy = [ scrapy ];
};
# Infinite recursion with Scrapy
doCheck = false;
pythonImportsCheck = [ "itemadapter" ];
meta = {
description = "Common interface for data container classes";
homepage = "https://github.com/scrapy/itemadapter";
changelog = "https://github.com/scrapy/itemadapter/raw/v${version}/Changelog.md";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|