summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/netifaces/default.nix
blob: 2fa93c10d65e9bb24f3928d7277e36f214ba51d8 (plain)
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
{
  lib,
  buildPythonPackage,
  fetchPypi,
}:

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

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

  # No tests implemented
  doCheck = false;

  pythonImportsCheck = [ "netifaces" ];

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