2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-17 04:54:42 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2019-01-17 15:13:02 +00:00
|
|
|
version = "0.10.9";
|
2018-10-17 04:54:42 +00:00
|
|
|
pname = "netifaces";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-01-17 15:13:02 +00:00
|
|
|
sha256 = "2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3";
|
2018-10-17 04:54:42 +00:00
|
|
|
};
|
|
|
|
|
2021-02-04 14:43:49 +00:00
|
|
|
doCheck = false; # no tests implemented
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "netifaces" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://alastairs-place.net/projects/netifaces/";
|
2018-10-17 04:54:42 +00:00
|
|
|
description = "Portable access to network interfaces from Python";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|