pythonPackages.iptools: refactor move to python-modules
This commit is contained in:
parent
45f47bd75f
commit
1de37f01ee
24
pkgs/development/python-modules/iptools/default.nix
Normal file
24
pkgs/development/python-modules/iptools/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -2490,22 +2490,7 @@ in {
|
|||||||
|
|
||||||
interruptingcow = callPackage ../development/python-modules/interruptingcow {};
|
interruptingcow = callPackage ../development/python-modules/interruptingcow {};
|
||||||
|
|
||||||
iptools = buildPythonPackage rec {
|
iptools = callPackage ../development/python-modules/iptools { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ipy = callPackage ../development/python-modules/IPy { };
|
ipy = callPackage ../development/python-modules/IPy { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user