2020-06-15 15:56:04 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-01-05 17:05:55 +00:00
|
|
|
, fetchpatch
|
2020-06-15 15:56:04 +00:00
|
|
|
, pytest
|
2021-07-24 12:14:16 +00:00
|
|
|
, pytest-cov
|
2020-06-15 15:56:04 +00:00
|
|
|
, pytestCheckHook
|
|
|
|
, numpy
|
2022-09-30 11:47:45 +00:00
|
|
|
, setuptools-scm
|
2020-06-15 15:56:04 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-astropy-header";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "0.2.2";
|
2021-01-05 17:05:55 +00:00
|
|
|
format = "pyproject";
|
2020-06-15 15:56:04 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-09-30 11:47:45 +00:00
|
|
|
sha256 = "77891101c94b75a8ca305453b879b318ab6001b370df02be2c0b6d1bb322db10";
|
2020-06-15 15:56:04 +00:00
|
|
|
};
|
2022-09-30 11:47:45 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools-scm
|
2021-01-05 17:05:55 +00:00
|
|
|
];
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
buildInputs = [
|
2020-06-15 15:56:04 +00:00
|
|
|
pytest
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2020-06-15 15:56:04 +00:00
|
|
|
pytestCheckHook
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Plugin to add diagnostic information to the header of the test output";
|
|
|
|
homepage = "https://astropy.org";
|
|
|
|
license = licenses.bsd3;
|
2023-08-04 22:07:22 +00:00
|
|
|
maintainers = [ ];
|
2020-06-15 15:56:04 +00:00
|
|
|
};
|
|
|
|
}
|