python3Packages.pytest-astropy-header: init at 0.1.2

This commit is contained in:
Jonathan Ringer 2020-06-20 13:07:28 -07:00 committed by Jon
parent f7c999c912
commit 26126db757
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytestcov
, pytestCheckHook
, numpy
, astropy
}:
buildPythonPackage rec {
pname = "pytest-astropy-header";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "1y87agr324p6x5gvhziymxjlw54pyn4gqnd49papbl941djpkp5g";
};
propagatedBuildInputs = [
pytest
];
checkInputs = [
pytestCheckHook
pytestcov
numpy
astropy
];
meta = with lib; {
description = "Plugin to add diagnostic information to the header of the test output";
homepage = "https://astropy.org";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@ -2496,6 +2496,8 @@ in {
pytest-astropy = callPackage ../development/python-modules/pytest-astropy { };
pytest-astropy-header = callPackage ../development/python-modules/pytest-astropy-header { };
pytest-benchmark = callPackage ../development/python-modules/pytest-benchmark { };
pytestcache = callPackage ../development/python-modules/pytestcache { };