1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/ifaddr/default.nix
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00

30 lines
624 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, ipaddress
, python
}:
buildPythonPackage rec {
version = "0.1.6";
pname = "ifaddr";
src = fetchPypi {
inherit pname version;
sha256 = "c19c64882a7ad51a394451dabcbbed72e98b5625ec1e79789924d5ea3e3ecb93";
};
propagatedBuildInputs = [ ipaddress ];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
meta = with stdenv.lib; {
homepage = https://github.com/pydron/ifaddr;
description = "Enumerates all IP addresses on all network adapters of the system";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}