depot/third_party/nixpkgs/pkgs/development/python-modules/iptools/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
540 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
version = "0.7.0";
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;
};
}