Merge pull request #175518 from SuperSandro2000/ipaddress

main
Sandro 2 years ago committed by GitHub
commit 7fef7ab934
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 27
      pkgs/development/python-modules/ipaddress/default.nix
  2. 1
      pkgs/top-level/python-aliases.nix
  3. 2
      pkgs/top-level/python-packages.nix

@ -1,27 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonAtLeast
, python
}:
if (pythonAtLeast "3.3") then null else buildPythonPackage rec {
pname = "ipaddress";
version = "1.0.23";
src = fetchPypi {
inherit pname version;
sha256 = "b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2";
};
checkPhase = ''
${python.interpreter} test_ipaddress.py
'';
meta = with lib; {
description = "Port of the 3.3+ ipaddress module to 2.6, 2.7, and 3.2";
homepage = "https://github.com/phihag/ipaddress";
license = licenses.psfl;
};
}

@ -84,6 +84,7 @@ mapAliases ({
hdlparse = throw "hdlparse has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
hyperkitty = throw "Please use pkgs.mailmanPackages.hyperkitty"; # added 2022-04-29
IMAPClient = imapclient; # added 2021-10-28
ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
jupyter_client = jupyter-client; # added 2021-10-15
Keras = keras; # added 2021-11-25
lammps-cython = throw "lammps-cython no longer builds and is unmaintained"; # added 2021-07-04

@ -4273,8 +4273,6 @@ in {
ipaddr = callPackage ../development/python-modules/ipaddr { };
ipaddress = callPackage ../development/python-modules/ipaddress { };
ipdb = callPackage ../development/python-modules/ipdb { };
ipdbplugin = callPackage ../development/python-modules/ipdbplugin { };

Loading…
Cancel
Save