blob: 9a311c66a90c9a8ed748022509c304271903522d (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
setuptools-scm,
toml,
zipp,
# Reverse dependency
sage,
}:
buildPythonPackage rec {
pname = "importlib-metadata";
version = "8.7.0";
pyproject = true;
src = fetchPypi {
pname = "importlib_metadata";
inherit version;
hash = "sha256-0TuBrSI7iQqhbFRx8qwwVs92xfEPgtb5KS8LQV84kAA=";
};
build-system = [
setuptools # otherwise cross build fails
setuptools-scm
];
dependencies = [
toml
zipp
];
# Cyclic dependencies due to pyflakefs
doCheck = false;
pythonImportsCheck = [ "importlib_metadata" ];
passthru.tests = {
inherit sage;
};
meta = {
description = "Read metadata from Python packages";
homepage = "https://importlib-metadata.readthedocs.io/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
fab
];
};
}
|