pythonPackages.ipaddr: refactor move to python-modules
This commit is contained in:
parent
076857913f
commit
b0e0dd399b
23
pkgs/development/python-modules/ipaddr/default.nix
Normal file
23
pkgs/development/python-modules/ipaddr/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ipaddr";
|
||||
version = "2.1.11";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1dwq3ngsapjc93fw61rp17fvzggmab5x1drjzvd4y4q0i255nm8v";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Google's IP address manipulation library";
|
||||
homepage = http://code.google.com/p/ipaddr-py/;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
@ -5618,22 +5618,7 @@ in {
|
||||
|
||||
ipywidgets = callPackage ../development/python-modules/ipywidgets { };
|
||||
|
||||
ipaddr = buildPythonPackage rec {
|
||||
name = "ipaddr-${version}";
|
||||
version = "2.1.11";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/i/ipaddr/${name}.tar.gz";
|
||||
sha256 = "1dwq3ngsapjc93fw61rp17fvzggmab5x1drjzvd4y4q0i255nm8v";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Google's IP address manipulation library";
|
||||
homepage = http://code.google.com/p/ipaddr-py/;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
};
|
||||
ipaddr = callPackage ../development/python-modules/ipaddr { };
|
||||
|
||||
ipaddress = if (pythonAtLeast "3.3") then null else buildPythonPackage rec {
|
||||
name = "ipaddress-1.0.18";
|
||||
|
Loading…
Reference in New Issue
Block a user