1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 13:29:13 +03:00
nixpkgs/pkgs/development/python-modules/pytest-arraydiff/default.nix
2022-01-23 01:09:19 +01:00

36 lines
765 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, six
, pytest
}:
buildPythonPackage rec {
pname = "pytest-arraydiff";
version = "0.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "714149beffd0dfa085477c65791c1139b619602b049536353ce1a91397fb3bd2";
};
buildInputs = [ pytest ];
propagatedBuildInputs = [
numpy
six
];
# The tests requires astropy, which itself requires
# pytest-arraydiff. This causes an infinite recursion if the tests
# are enabled.
doCheck = false;
meta = with lib; {
description = "Pytest plugin to help with comparing array output from tests";
homepage = "https://github.com/astrofrog/pytest-arraydiff";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}