diff options
Diffstat (limited to 'pkgs/development/python-modules/py3exiv2/default.nix')
-rw-r--r-- | pkgs/development/python-modules/py3exiv2/default.nix | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/py3exiv2/default.nix b/pkgs/development/python-modules/py3exiv2/default.nix index e8c5c6cd1516..e9f0efe24030 100644 --- a/pkgs/development/python-modules/py3exiv2/default.nix +++ b/pkgs/development/python-modules/py3exiv2/default.nix @@ -1,11 +1,12 @@ -{ lib -, stdenv -, boost -, buildPythonPackage -, exiv2 -, fetchPypi -, libcxx -, pythonOlder +{ + lib, + stdenv, + boost, + buildPythonPackage, + exiv2, + fetchPypi, + libcxx, + pythonOlder, }: buildPythonPackage rec { @@ -26,17 +27,15 @@ buildPythonPackage rec { ]; # Work around Python distutils compiling C++ with $CC (see issue #26709) - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-I${lib.getDev libcxx}/include/c++/v1"; - pythonImportsCheck = [ - "pyexiv2" - ]; + pythonImportsCheck = [ "pyexiv2" ]; # Tests are not shipped doCheck = false; meta = with lib; { - broken = stdenv.isDarwin; + broken = stdenv.hostPlatform.isDarwin; description = "Python binding to the library exiv2"; homepage = "https://launchpad.net/py3exiv2"; license = licenses.gpl3Plus; |