about summary refs log tree commit diff
path: root/pkgs/development/python-modules/netifaces/default.nix
blob: 6d34bc3df4a57b386bef044e45edd9c610b7b663 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:

buildPythonPackage rec {
  version = "0.11.0";
  pname = "netifaces";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-BDp5FG6ykH7fQ5iZ8mKz3+QXF9NBJCmO0oETmouTyjI=";
  };

  # No tests implemented
  doCheck = false;

  pythonImportsCheck = [
    "netifaces"
  ];

  meta = with lib; {
    description = "Portable access to network interfaces from Python";
    homepage = "https://github.com/al45tair/netifaces";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}