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

26 lines
571 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "blinker";
version = "1.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-kj5eL2nBVfLMQtr7vXDhbj/eJNLUqiq3L744YjiJJGI=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "blinker" ];
meta = with lib; {
homepage = "https://pythonhosted.org/blinker/";
description = "Fast, simple object-to-object and broadcast signaling";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}