nixpkgs/pkgs/development/python-modules/nulltype/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

33 lines
660 B
Nix

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