about summary refs log tree commit diff
path: root/pkgs/development/python-modules/ipy/default.nix
blob: 5a5876b8b2be3ed89866f974fca2c9eeb632678e (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
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "ipy";
  version = "1.01";
  pyproject = true;

  src = fetchPypi {
    pname = "IPy";
    inherit version;
    hash = "sha256-7eynQd6i1UrKVo+iN0AojD/obA8+pwA0RXHp7xSnzBo=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "IPy" ];

  nativeCheckInputs = [ pytestCheckHook ];

  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 ];
  };
}