1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6}:
7
8buildPythonPackage rec {
9 version = "0.11.0";
10 pname = "netifaces";
11 format = "setuptools";
12
13 disabled = pythonOlder "3.7";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-BDp5FG6ykH7fQ5iZ8mKz3+QXF9NBJCmO0oETmouTyjI=";
18 };
19
20 # No tests implemented
21 doCheck = false;
22
23 pythonImportsCheck = [ "netifaces" ];
24
25 meta = with lib; {
26 description = "Portable access to network interfaces from Python";
27 homepage = "https://github.com/al45tair/netifaces";
28 license = licenses.mit;
29 maintainers = [ ];
30 };
31}