tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.ifconfig-parser: format with nixfmt
Fabian Affolter
2 years ago
287c7aea
4e3c8707
+8
-12
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
ifconfig-parser
default.nix
+8
-12
pkgs/development/python-modules/ifconfig-parser/default.nix
···
1
1
-
{ lib
2
2
-
, buildPythonPackage
3
3
-
, fetchFromGitHub
4
4
-
, setuptools
5
5
-
, pythonOlder
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchFromGitHub,
5
5
+
setuptools,
6
6
+
pythonOlder,
6
7
}:
7
8
8
9
buildPythonPackage rec {
···
19
20
hash = "sha256-TXa7oQ8AyTIdaSK4SH+RN2bDPtVqNvofPvlqHPKaCx4=";
20
21
};
21
22
22
22
-
build-system = [
23
23
-
setuptools
24
24
-
];
25
25
-
23
23
+
build-system = [ setuptools ];
26
24
27
25
checkPhase = ''
28
26
export PYTHONPATH=$PYTHONPATH:$(pwd)/ifconfigparser:$(pwd)/ifconfigparser/tests
29
27
python -m unittest -v test_ifconfig_parser.TestIfconfigParser
30
28
'';
31
29
32
32
-
pythonImportsCheck = [
33
33
-
"ifconfigparser"
34
34
-
];
30
30
+
pythonImportsCheck = [ "ifconfigparser" ];
35
31
36
32
meta = with lib; {
37
33
description = "Module for parsing raw output of ifconfig";