fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
35 lines
744 B
Nix
35 lines
744 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
matplotlib,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pytest-plt";
|
|
version = "1.1.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-TOuyVH2wKKruy7SBNW3z62yzpmBT6l6RcKhoO1XUFhE=";
|
|
};
|
|
|
|
postPatch = ''
|
|
sed -i '/addopts =/d' setup.cfg
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|