From 6b6ac53ca52be99ee7e430f10c711fe3c599e3df Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 8 May 2022 15:46:31 +0200 Subject: [PATCH] python310Packages.py3exiv2: disable tests --- .../python-modules/py3exiv2/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/py3exiv2/default.nix b/pkgs/development/python-modules/py3exiv2/default.nix index 7995cf8bae2..60a8ee7f17f 100644 --- a/pkgs/development/python-modules/py3exiv2/default.nix +++ b/pkgs/development/python-modules/py3exiv2/default.nix @@ -1,11 +1,11 @@ { lib , stdenv +, boost , buildPythonPackage -, pythonOlder -, fetchPypi , exiv2 -, boost +, fetchPypi , libcxx +, pythonOlder }: buildPythonPackage rec { @@ -25,17 +25,20 @@ buildPythonPackage rec { exiv2 ]; - # work around python distutils compiling C++ with $CC (see issue #26709) + # Work around Python distutils compiling C++ with $CC (see issue #26709) NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin [ "-I${lib.getDev libcxx}/include/c++/v1" ]; pythonImportsCheck = [ - "py3exiv2" + "pyexiv2" ]; + # Tests are not shipped + doCheck = false; + meta = with lib; { - description = "A Python3 binding to the library exiv2"; + description = "Python binding to the library exiv2"; homepage = "https://launchpad.net/py3exiv2"; license = licenses.gpl3Plus; maintainers = with maintainers; [ vinymeuh ];