Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pytest-arraydiff / default.nix
blob5c6f9cf2b85218dcce2ffc6fd72869cf95f170cd
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , numpy
5 , six
6 , pytest
7 , astropy
8 }:
10 buildPythonPackage rec {
11   pname = "pytest-arraydiff";
12   version = "0.3";
14   src = fetchPypi {
15     inherit pname version;
16     sha256 = "de2d62f53ecc107ed754d70d562adfa7573677a263216a7f19aa332f20dc6c15";
17   };
19   buildInputs = [ pytest ];
21   propagatedBuildInputs = [
22     numpy
23     six
24   ];
26   # The tests requires astropy, which itself requires
27   # pytest-arraydiff. This causes an infinite recursion if the tests
28   # are enabled.
29   doCheck = false;
31   meta = with lib; {
32     description = "Pytest plugin to help with comparing array output from tests";
33     homepage = "https://github.com/astrofrog/pytest-arraydiff";
34     license = licenses.bsd3;
35     maintainers = [ maintainers.costrouc ];
36   };