nixpkgs/pkgs/development/python-modules/netifaces/default.nix

26 lines
526 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
2019-01-17 15:13:02 +00:00
version = "0.10.9";
pname = "netifaces";
src = fetchPypi {
inherit pname version;
2019-01-17 15:13:02 +00:00
sha256 = "2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3";
};
doCheck = false; # no tests implemented
pythonImportsCheck = [ "netifaces" ];
meta = with lib; {
homepage = "https://alastairs-place.net/projects/netifaces/";
description = "Portable access to network interfaces from Python";
license = licenses.mit;
};
}