1{ lib 2, buildPythonPackage 3, fetchPypi 4, fetchpatch 5, pytest 6, pytest-cov 7, pytestCheckHook 8, numpy 9, setuptools-scm 10}: 11 12buildPythonPackage rec { 13 pname = "pytest-astropy-header"; 14 version = "0.2.2"; 15 format = "pyproject"; 16 17 src = fetchPypi { 18 inherit pname version; 19 sha256 = "77891101c94b75a8ca305453b879b318ab6001b370df02be2c0b6d1bb322db10"; 20 }; 21 22 nativeBuildInputs = [ 23 setuptools-scm 24 ]; 25 26 buildInputs = [ 27 pytest 28 ]; 29 30 nativeCheckInputs = [ 31 pytestCheckHook 32 numpy 33 ]; 34 35 meta = with lib; { 36 description = "Plugin to add diagnostic information to the header of the test output"; 37 homepage = "https://astropy.org"; 38 license = licenses.bsd3; 39 maintainers = [ ]; 40 }; 41}