blob: f5451a8e95eee4f2a8aabd71fc2b2756003b6381 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{
lib,
buildPythonPackage,
fetchPypi,
# build-system
setuptools,
setuptools-scm,
# dependencies
importlib-metadata,
# Reverse dependency
sage,
# tests
jaraco-collections,
jaraco-test,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "importlib-resources";
version = "6.5.2";
pyproject = true;
src = fetchPypi {
pname = "importlib_resources";
inherit version;
hash = "sha256-GF+Hre9bzCiESdmPtPugfOp4vANkVd1ExfxKL+eP7Sw=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [ importlib-metadata ];
nativeCheckInputs = [
pytestCheckHook
jaraco-collections
jaraco-test
];
pythonImportsCheck = [ "importlib_resources" ];
passthru.tests = {
inherit sage;
};
meta = {
description = "Read resources from Python packages";
homepage = "https://importlib-resources.readthedocs.io/";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
|