summary refs log tree commit diff
path: root/pkgs/development/python-modules/nulltype/default.nix
blob: f04f9df780dca5b2a2f217cd6de2ae1ca0fa8ee5 (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
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "nulltype";
  version = "2.3.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "0wpjbsmm0c9ifg9y6cnfz49qq9pa5f99nnqp6wdlv42ymfr3rak4";
  };

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "nulltype"
  ];

  meta = with lib; {
    description = "Python library to handle Null values and sentinels like (but not) None, False and True";
    homepage = "https://pypi.org/project/nulltype/";
    license = licenses.asl20;
    maintainers = with maintainers; [ fab ];
  };
}