blob: 79012fa9677a17b7132329294185899cdb614384 (
plain) (
blame)
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
|
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
# build-system
, setuptools
, setuptools-scm
# dependencies
, importlib-metadata
# tests
, jaraco-collections
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "importlib-resources";
version = "6.1.3";
pyproject = true;
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "importlib_resources";
inherit version;
hash = "sha256-VvtFJRl7eFRKM1TqJ3k5UquT+TW7S/dGuEa7EBUCDys=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
importlib-metadata
];
nativeCheckInputs = [
pytestCheckHook
jaraco-collections
];
pythonImportsCheck = [
"importlib_resources"
];
meta = with lib; {
description = "Read resources from Python packages";
homepage = "https://importlib-resources.readthedocs.io/";
license = licenses.asl20;
maintainers = [ ];
};
}
|