depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-astropy-header/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

37 lines
659 B
Nix

{ 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 ];
};
}