pythonPackages.pytest-arraydiff: init at 0.3

This commit is contained in:
Chris Ostrouchov 2019-07-15 11:45:36 -04:00 committed by Frederik Rietdijk
parent 3291b8dadf
commit 45ee5f6d28
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,40 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, six
, pytest
, astropy
}:
buildPythonPackage rec {
pname = "pytest-arraydiff";
version = "0.3";
src = fetchPypi {
inherit pname version;
sha256 = "de2d62f53ecc107ed754d70d562adfa7573677a263216a7f19aa332f20dc6c15";
};
propagatedBuildInputs = [
numpy
six
pytest
];
checkInputs = [
pytest
astropy
];
checkPhase = ''
pytest
'';
meta = with lib; {
description = "Pytest plugin to help with comparing array output from tests";
homepage = https://github.com/astrofrog/pytest-arraydiff;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -1895,6 +1895,8 @@ in {
pytest-aiohttp = callPackage ../development/python-modules/pytest-aiohttp { };
pytest-arraydiff = callPackage ../development/python-modules/pytest-arraydiff { };
pytest-benchmark = callPackage ../development/python-modules/pytest-benchmark { };
pytestcache = callPackage ../development/python-modules/pytestcache { };