nixpkgs/pkgs/development/python-modules/pytest-astropy-header/default.nix
Michael Daniels 075e8c2c4f
treewide: change 'format = "pyproject";' to 'pyproject = true;'
This is almost all find-and-replace.

I manually edited:
* pkgs/development/python-modules/notifications-android-tv/default.nix,
* pkgs/servers/home-assistant/default.nix,
* pkgs/development/tools/continuous-integration/buildbot/master.nix

A few files have not been changed in this PR because they would cause rebuilds.

This PR should have 0 rebuilds.
2026-01-12 17:50:35 -05:00

36 lines
675 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytest,
pytestCheckHook,
numpy,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "pytest-astropy-header";
version = "0.2.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "77891101c94b75a8ca305453b879b318ab6001b370df02be2c0b6d1bb322db10";
};
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ pytest ];
nativeCheckInputs = [
pytestCheckHook
numpy
];
meta = {
description = "Plugin to add diagnostic information to the header of the test output";
homepage = "https://astropy.org";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}