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
-
{ lib
2
-
, buildPythonPackage
3
-
, fetchFromGitHub
4
-
, setuptools
5
-
, pythonOlder
0
6
}:
7
8
buildPythonPackage rec {
···
19
hash = "sha256-TXa7oQ8AyTIdaSK4SH+RN2bDPtVqNvofPvlqHPKaCx4=";
20
};
21
22
-
build-system = [
23
-
setuptools
24
-
];
25
-
26
27
checkPhase = ''
28
export PYTHONPATH=$PYTHONPATH:$(pwd)/ifconfigparser:$(pwd)/ifconfigparser/tests
29
python -m unittest -v test_ifconfig_parser.TestIfconfigParser
30
'';
31
32
-
pythonImportsCheck = [
33
-
"ifconfigparser"
34
-
];
35
36
meta = with lib; {
37
description = "Module for parsing raw output of ifconfig";
···
1
+
{
2
+
lib,
3
+
buildPythonPackage,
4
+
fetchFromGitHub,
5
+
setuptools,
6
+
pythonOlder,
7
}:
8
9
buildPythonPackage rec {
···
20
hash = "sha256-TXa7oQ8AyTIdaSK4SH+RN2bDPtVqNvofPvlqHPKaCx4=";
21
};
22
23
+
build-system = [ setuptools ];
0
0
0
24
25
checkPhase = ''
26
export PYTHONPATH=$PYTHONPATH:$(pwd)/ifconfigparser:$(pwd)/ifconfigparser/tests
27
python -m unittest -v test_ifconfig_parser.TestIfconfigParser
28
'';
29
30
+
pythonImportsCheck = [ "ifconfigparser" ];
0
0
31
32
meta = with lib; {
33
description = "Module for parsing raw output of ifconfig";