diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2019-07-14 17:31:28 -0400 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2019-07-17 10:02:03 +0200 |
commit | 36dc1d4fe61ae09a8cfb06926a7afacf2844d244 (patch) | |
tree | 262c14d277a45edfbe83dd0f3919ad92cff17afc /pkgs/development/python-modules/pytest-mpl/default.nix | |
parent | 029ef744a8f02c0cd0ad4e984990247082b59ffd (diff) | |
download | nixlib-36dc1d4fe61ae09a8cfb06926a7afacf2844d244.tar nixlib-36dc1d4fe61ae09a8cfb06926a7afacf2844d244.tar.gz nixlib-36dc1d4fe61ae09a8cfb06926a7afacf2844d244.tar.bz2 nixlib-36dc1d4fe61ae09a8cfb06926a7afacf2844d244.tar.lz nixlib-36dc1d4fe61ae09a8cfb06926a7afacf2844d244.tar.xz nixlib-36dc1d4fe61ae09a8cfb06926a7afacf2844d244.tar.zst nixlib-36dc1d4fe61ae09a8cfb06926a7afacf2844d244.zip |
pythonPackages.colorcet: init at 0.10
Diffstat (limited to 'pkgs/development/python-modules/pytest-mpl/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pytest-mpl/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-mpl/default.nix b/pkgs/development/python-modules/pytest-mpl/default.nix new file mode 100644 index 000000000000..c3bd4c59f049 --- /dev/null +++ b/pkgs/development/python-modules/pytest-mpl/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pytest +, matplotlib +, nose +}: + +buildPythonPackage rec { + pname = "pytest-mpl"; + version = "0.10"; + + src = fetchPypi { + inherit pname version; + sha256 = "7006e63bf1ca9c50bea3d189c0f862751a16ce40bb373197b218f57af5b837c0"; + }; + + propagatedBuildInputs = [ + matplotlib + nose + ]; + + checkInputs = [ + pytest + ]; + + checkPhase = '' + pytest + ''; + + meta = with lib; { + description = "pytest plugin to help with testing figures output from Matplotlib"; + homepage = https://github.com/matplotlib/pytest-mpl; + license = licenses.bsd3; + maintainers = [ maintainers.costrouc ]; + }; +} |