Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-arraydiff / default.nix
blob2fc73552d54957060817732f8c189d3d8e886414
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , numpy
5 , pytest
6 , pythonOlder
7 , setuptools-scm
8 }:
10 buildPythonPackage rec {
11   pname = "pytest-arraydiff";
12   version = "0.6.1";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchPypi {
18     inherit pname version;
19     sha256 = "sha256-KTexRQ/JNWIPJHCdh9QMZ+BVoEPXuFQaJf36mU3aZ94=";
20   };
22   nativeBuildInputs = [
23     setuptools-scm
24   ];
26   buildInputs = [
27     pytest
28   ];
30   propagatedBuildInputs = [
31     numpy
32   ];
34   # The tests requires astropy, which itself requires pytest-arraydiff
35   doCheck = false;
37   pythonImportsCheck = [
38     "pytest_arraydiff"
39   ];
41   meta = with lib; {
42     description = "Pytest plugin to help with comparing array output from tests";
43     homepage = "https://github.com/astrofrog/pytest-arraydiff";
44     license = licenses.bsd3;
45     maintainers = with maintainers; [ ];
46   };