11 buildPythonPackage rec {
14 format = "setuptools";
16 disabled = pythonOlder "3.7";
19 inherit pname version;
20 hash = "sha256-ZgDaa4lxmdTaZhkblgRfPMxfVwENp2s6xdKSuD/MqEQ=";
28 # Work around Python distutils compiling C++ with $CC (see issue #26709)
29 NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin [
30 "-I${lib.getDev libcxx}/include/c++/v1"
33 pythonImportsCheck = [
37 # Tests are not shipped
41 broken = stdenv.isDarwin;
42 description = "Python binding to the library exiv2";
43 homepage = "https://launchpad.net/py3exiv2";
44 license = licenses.gpl3Plus;
45 maintainers = with maintainers; [ vinymeuh ];
46 platforms = with platforms; linux ++ darwin;