Merge pull request #175414 from SuperSandro2000/ifaddr

python310Packages.ifaddr: remove backport ipaddress, run test with py…
main
Sandro 2 years ago committed by GitHub
commit 7a1ed6b978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      pkgs/development/python-modules/ifaddr/default.nix

@ -1,8 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, ipaddress
, python
, pytestCheckHook
}:
buildPythonPackage rec {
@ -14,11 +13,11 @@ buildPythonPackage rec {
sha256 = "1f9e8a6ca6f16db5a37d3356f07b6e52344f6f9f7e806d618537731669eb1a94";
};
propagatedBuildInputs = [ ipaddress ];
checkInputs = [
pytestCheckHook
];
checkPhase = ''
${python.interpreter} -m unittest discover
'';
pythonImportsCheck = [ "ifaddr" ];
meta = with lib; {
homepage = "https://github.com/pydron/ifaddr";

Loading…
Cancel
Save