nixpkgs-suyu/pkgs/development/python-modules/IPy/default.nix

25 lines
584 B
Nix
Raw Normal View History

{ lib, stdenv, buildPythonPackage, fetchPypi, nose }:
2018-02-06 11:30:26 +01:00
buildPythonPackage rec {
pname = "IPy";
2020-12-04 00:45:03 +01:00
version = "1.01";
2018-02-06 11:30:26 +01:00
src = fetchPypi {
inherit pname version;
2020-12-04 00:45:03 +01:00
sha256 = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a";
2018-02-06 11:30:26 +01:00
};
checkInputs = [ nose ];
checkPhase = ''
nosetests -e fuzz
'';
meta = with lib; {
2018-02-06 11:30:26 +01:00
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 ];
};
}