Skip to content

Commit

Permalink
Merge pull request NixOS#200847 from doronbehar/pkg/pytest-plt
Browse files Browse the repository at this point in the history
python3.pkgs.pytest-plt: init at 1.1.0
  • Loading branch information
doronbehar authored Nov 14, 2022
2 parents 4ed1d34 + 8ac4008 commit 6ee2df3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/development/python-modules/pytest-plt/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, matplotlib
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "pytest-plt";
version = "1.1.0";

src = fetchPypi {
inherit pname version;
sha256 = "sha256-IkTNlierFXIG9WSVUfVoirfQ6z7JOYlCaa5NhnBSuxc=";
};

checkInputs = [
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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8839,6 +8839,8 @@ self: super: with self; {

pytest-param-files = callPackage ../development/python-modules/pytest-param-files { };

pytest-plt = callPackage ../development/python-modules/pytest-plt { };

pytest-pylint = callPackage ../development/python-modules/pytest-pylint { };

pytest-qt = callPackage ../development/python-modules/pytest-qt { };
Expand Down

0 comments on commit 6ee2df3

Please sign in to comment.