1 { lib, buildPythonPackage, fetchFromGitHub }:
3 buildPythonPackage rec {
4 pname = "ifconfig-parser";
7 src = fetchFromGitHub {
8 owner = "KnightWhoSayNi";
10 rev = "4921ac9d6be6244b062d082c164f5a5e69522478";
11 sha256 = "07hbkbr1qspr7qgzldkaslzc6ripj5zlif12d4fk5j801yhvnxjd";
15 export PYTHONPATH=$PYTHONPATH:$(pwd)/ifconfigparser:$(pwd)/ifconfigparser/tests
16 python -m unittest -v test_ifconfig_parser.TestIfconfigParser
20 description = "Unsophisticated python package for parsing raw output of ifconfig.";
21 homepage = "https://github.com/KnightWhoSayNi/ifconfig-parser";
22 license = licenses.mit;
23 maintainers = with maintainers; [ atemu ];