pythonPackages.pytest-arraydiff: init at 0.3
This commit is contained in:
parent
3291b8dadf
commit
45ee5f6d28
40
pkgs/development/python-modules/pytest-arraydiff/default.nix
Normal file
40
pkgs/development/python-modules/pytest-arraydiff/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user