1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-23 17:56:53 +03:00
nixpkgs/pkgs/development/python-modules/pytest-plt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
744 B
Nix
Raw Normal View History

2022-10-08 12:23:45 +03:00
{
lib,
buildPythonPackage,
fetchPypi,
matplotlib,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pytest-plt";
version = "1.1.1";
format = "setuptools";
2022-10-08 12:23:45 +03:00
src = fetchPypi {
inherit pname version;
hash = "sha256-TOuyVH2wKKruy7SBNW3z62yzpmBT6l6RcKhoO1XUFhE=";
2022-10-08 12:23:45 +03:00
};
postPatch = ''
sed -i '/addopts =/d' setup.cfg
'';
nativeCheckInputs = [
2022-10-08 12:23:45 +03:00
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 ];
};
}