12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-crI+X3YMRzPPmpGNsI2U+9bZgwcR0qTowJuPNFY/Ooo=";
29 # Work around Python distutils compiling C++ with $CC (see issue #26709)
30 env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";
32 pythonImportsCheck = [ "pyexiv2" ];
34 # Tests are not shipped
38 broken = stdenv.hostPlatform.isDarwin;
39 description = "Python binding to the library exiv2";
40 homepage = "https://launchpad.net/py3exiv2";
41 license = licenses.gpl3Plus;
42 maintainers = with maintainers; [ vinymeuh ];
43 platforms = with platforms; linux ++ darwin;