python310Packages.py3exiv2: disable tests

main
Fabian Affolter 2 years ago committed by GitHub
parent 1f4de2c0c9
commit 6b6ac53ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      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 ];

Loading…
Cancel
Save