depot/third_party/nixpkgs/pkgs/development/python-modules/netifaces/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
526 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
version = "0.10.9";
pname = "netifaces";
src = fetchPypi {
inherit pname version;
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;
};
}