tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.periodictable: refactor
natsukium
1 year ago
4f96879c
1951dc2f
+14
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
periodictable
default.nix
+14
-7
pkgs/development/python-modules/periodictable/default.nix
reviewed
···
2
2
lib,
3
3
fetchFromGitHub,
4
4
buildPythonPackage,
5
5
+
setuptools,
5
6
numpy,
6
7
pyparsing,
8
8
+
pytest-cov-stub,
7
9
pytestCheckHook,
8
10
pythonOlder,
9
11
}:
···
13
11
buildPythonPackage rec {
14
12
pname = "periodictable";
15
13
version = "2.0.2";
16
16
-
format = "setuptools";
14
14
+
pyproject = true;
17
15
18
18
-
disabled = pythonOlder "3.7";
16
16
+
disabled = pythonOlder "3.8";
19
17
20
18
src = fetchFromGitHub {
21
19
owner = "python-periodictable";
···
24
22
hash = "sha256-nI6hiLnqmVXT06pPkHCBEMTxZhfnZJqSImW3V9mJ4+8=";
25
23
};
26
24
27
27
-
propagatedBuildInputs = [
25
25
+
build-system = [ setuptools ];
26
26
+
27
27
+
dependencies = [
28
28
numpy
29
29
pyparsing
30
30
];
31
31
32
32
-
nativeCheckInputs = [ pytestCheckHook ];
32
32
+
nativeCheckInputs = [
33
33
+
pytest-cov-stub
34
34
+
pytestCheckHook
35
35
+
];
33
36
34
37
pythonImportsCheck = [ "periodictable" ];
35
38
36
36
-
meta = with lib; {
39
39
+
meta = {
37
40
description = "Extensible periodic table of the elements";
38
41
homepage = "https://github.com/pkienzle/periodictable";
39
39
-
license = licenses.publicDomain;
40
40
-
maintainers = with maintainers; [ rprospero ];
42
42
+
license = lib.licenses.publicDomain;
43
43
+
maintainers = with lib.maintainers; [ rprospero ];
41
44
};
42
45
}