nixpkgs-suyu/pkgs/development/python-modules/IPy/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

24 lines
582 B
Nix

{ lib, buildPythonPackage, fetchPypi, nose }:
buildPythonPackage rec {
pname = "IPy";
version = "1.01";
src = fetchPypi {
inherit pname version;
sha256 = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a";
};
nativeCheckInputs = [ nose ];
checkPhase = ''
nosetests -e fuzz
'';
meta = with 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 ];
};
}