02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
25 lines
565 B
Nix
25 lines
565 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "0.7.0";
|
|
format = "setuptools";
|
|
pname = "iptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1sp2v76qqsgqjk0vqfbm2s4sc4mi0gkkpzjnvwih3ymmidilz2hi";
|
|
};
|
|
|
|
buildInputs = [ nose ];
|
|
|
|
meta = with 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;
|
|
};
|
|
|
|
}
|