about summary refs log tree commit diff
path: root/pkgs/development/python-modules/iptools/default.nix
blob: 42e296afcc86a9de90fde011e3820569148fd3a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
  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;
  };
}