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

30 lines
654 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, matplotlib
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-plt";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-IkTNlierFXIG9WSVUfVoirfQ6z7JOYlCaa5NhnBSuxc=";
};
nativeCheckInputs = [
pytestCheckHook
matplotlib
];
meta = with lib; {
description = "provides fixtures for quickly creating Matplotlib plots in your tests";
homepage = "https://www.nengo.ai/pytest-plt/";
changelog = "https://github.com/nengo/pytest-plt/blob/master/CHANGES.rst";
license = licenses.mit;
maintainers = [ maintainers.doronbehar ];
};
}