nixpkgs-suyu/pkgs/development/python-modules/iptools/default.nix
2020-04-10 17:54:53 +01:00

24 lines
550 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
version = "0.7.0";
pname = "iptools";
src = fetchPypi {
inherit pname version;
sha256 = "1sp2v76qqsgqjk0vqfbm2s4sc4mi0gkkpzjnvwih3ymmidilz2hi";
};
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;
};
}