nixpkgs/pkgs/development/python-modules/infinity/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

29 lines
563 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "infinity";
version = "1.5";
src = fetchPypi {
inherit pname version;
sha256 = "1npcc4adcc3c9diw4kgmd5c0ikym1iz364p2zp6gs011rqaprald";
};
nativeCheckInputs = [
pytestCheckHook
six
];
meta = with lib; {
description = "All-in-one infinity value for Python. Can be compared to any object.";
homepage = "https://github.com/kvesteri/infinity";
license = licenses.bsd3;
maintainers = with maintainers; [ mupdt ];
};
}