mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.ipy: 0.74 -> 0.83
This commit is contained in:
parent
67f2d3e2bd
commit
c9bbf071bd
2 changed files with 25 additions and 18 deletions
24
pkgs/development/python-modules/IPy/default.nix
Normal file
24
pkgs/development/python-modules/IPy/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "IPy";
|
||||
version = "0.83";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "61da5a532b159b387176f6eabf11946e7458b6df8fb8b91ff1d345ca7a6edab8";
|
||||
};
|
||||
|
||||
checkInputs = [ nose ];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -e fuzz
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Class and tools for handling of IPv4 and IPv6 addresses and networks";
|
||||
homepage = "https://github.com/autocracy/python-ipy";
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = with maintainers; [ y0no ];
|
||||
};
|
||||
}
|
|
@ -8637,24 +8637,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
ipy = buildPythonPackage rec {
|
||||
version = "0.74";
|
||||
name = "ipy-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/I/IPy/IPy-${version}.tar.gz";
|
||||
sha256 = "5d6abb870c25f946c45c35cf50e66155598660f2765b35cb12e36ed5223c2b89";
|
||||
};
|
||||
|
||||
# error: invalid command 'test'
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Class and tools for handling of IPv4 and IPv6 addresses and networks";
|
||||
homepage = https://pypi.python.org/pypi/IPy;
|
||||
};
|
||||
};
|
||||
ipy = callPackage ../development/python-modules/IPy { };
|
||||
|
||||
ipykernel = callPackage ../development/python-modules/ipykernel { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue