pythonPackages.iptools: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 17:27:12 -04:00 committed by Frederik Rietdijk
parent 45f47bd75f
commit 1de37f01ee
2 changed files with 25 additions and 16 deletions

View File

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
version = "0.6.1";
pname = "iptools";
src = fetchPypi {
inherit pname version;
sha256 = "0f03875a5bed740ba4bf44decb6a78679cca914a1ee8a6cc468114485c4d98e3";
};
buildInputs = [ nose ];
meta = with stdenv.lib; {
description = "Utilities for manipulating IP addresses including a class that can be used to include CIDR network blocks in Django's INTERNAL_IPS setting";
homepage = https://pypi.python.org/pypi/iptools;
license = licenses.bsd0;
};
}

View File

@ -2490,22 +2490,7 @@ in {
interruptingcow = callPackage ../development/python-modules/interruptingcow {};
iptools = buildPythonPackage rec {
version = "0.6.1";
name = "iptools-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/i/iptools/iptools-${version}.tar.gz";
sha256 = "0f03875a5bed740ba4bf44decb6a78679cca914a1ee8a6cc468114485c4d98e3";
};
buildInputs = with self; [ nose ];
meta = {
description = "Utilities for manipulating IP addresses including a class that can be used to include CIDR network blocks in Django's INTERNAL_IPS setting";
homepage = https://pypi.python.org/pypi/iptools;
};
};
iptools = callPackage ../development/python-modules/iptools { };
ipy = callPackage ../development/python-modules/IPy { };