tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.attrdict: format with nixfmt
Fabian Affolter
2 years ago
7f6b573d
974a3a22
+11
-16
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
attrdict
default.nix
+11
-16
pkgs/development/python-modules/attrdict/default.nix
···
1
1
-
{ lib
2
2
-
, buildPythonPackage
3
3
-
, fetchPypi
4
4
-
, pytestCheckHook
5
5
-
, pythonOlder
6
6
-
, setuptools
7
7
-
, six
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchPypi,
5
5
+
pytestCheckHook,
6
6
+
pythonOlder,
7
7
+
setuptools,
8
8
+
six,
8
9
}:
9
10
10
11
buildPythonPackage rec {
···
30
31
--replace-fail "from collections" "from collections.abc"
31
32
'';
32
33
33
33
-
build-system = [
34
34
-
setuptools
35
35
-
];
34
34
+
build-system = [ setuptools ];
36
35
37
37
-
dependencies = [
38
38
-
six
39
39
-
];
36
36
+
dependencies = [ six ];
40
37
41
38
# Tests are not shipped and source is not tagged
42
39
doCheck = false;
43
40
44
44
-
pythonImportsCheck = [
45
45
-
"attrdict"
46
46
-
];
41
41
+
pythonImportsCheck = [ "attrdict" ];
47
42
48
43
meta = with lib; {
49
44
description = "A dict with attribute-style access";