diff --git a/pkgs/development/python-modules/py3exiv2/default.nix b/pkgs/development/python-modules/py3exiv2/default.nix index fe0827c4f8f6..f9ed9acd0c80 100644 --- a/pkgs/development/python-modules/py3exiv2/default.nix +++ b/pkgs/development/python-modules/py3exiv2/default.nix @@ -2,12 +2,12 @@ buildPythonPackage rec { pname = "py3exiv2"; - version = "0.7.0"; + version = "0.8.0"; disabled = !(isPy3k); src = fetchPypi { inherit pname version; - sha256 = "1gcvmglyl8ad2f336w88gwkd5djjsxdx1ind9wnlbqc3jn9i05cg"; + sha256 = "1v419f1kkqw8hqyc3yhzslnbzk52j8j3wfknfkjg308n5mf5bn09"; }; buildInputs = [ exiv2 boost ]; @@ -15,20 +15,11 @@ buildPythonPackage rec { # work around python distutils compiling C++ with $CC (see issue #26709) NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; - # fix broken libboost_python3 detection - patches = [ - (substituteAll { - src = ./setup.patch; - version = "3${stdenv.lib.versions.minor python.version}"; - }) - ]; - meta = { homepage = "https://launchpad.net/py3exiv2"; description = "A Python3 binding to the library exiv2"; license = with stdenv.lib.licenses; [ gpl3 ]; maintainers = with stdenv.lib.maintainers; [ vinymeuh ]; platforms = with stdenv.lib.platforms; linux ++ darwin; - broken = true; }; } diff --git a/pkgs/development/python-modules/py3exiv2/setup.patch b/pkgs/development/python-modules/py3exiv2/setup.patch deleted file mode 100644 index 8b0619c5bc5f..000000000000 --- a/pkgs/development/python-modules/py3exiv2/setup.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/setup.py 2017-10-16 22:03:02.000000000 +0200 -+++ b/setup.py 2017-10-16 22:03:34.000000000 +0200 -@@ -39,7 +39,7 @@ - if '3' in l[2:]: - return l.replace('libboost', 'boost') - --libboost = get_libboost_name() -+libboost = 'boost_python@version@' - - setup( - name='py3exiv2',