24 stdenv.mkDerivation rec {
29 url = "https://photoqt.org/pkgs/photoqt-${version}.tar.gz";
30 hash = "sha256-kVf9+zI9rtEMmS0N4qrN673T/1fnqfcV3hQPnMXMLas=";
35 substituteInPlace CMakeLists.txt \
36 --replace "exiv2lib" "exiv2"
38 # error: no member named 'setlocale' in namespace 'std'; did you mean simply 'setlocale'?
39 + lib.optionalString stdenv.isDarwin ''
40 substituteInPlace cplusplus/main.cpp \
41 --replace "std::setlocale" "setlocale"
76 export MAGICK_LOCATION="${graphicsmagick}/include/GraphicsMagick"
80 description = "Simple, yet powerful and good looking image viewer";
81 homepage = "https://photoqt.org/";
82 license = lib.licenses.gpl2Plus;
83 mainProgram = "photoqt";
84 maintainers = with lib.maintainers; [ wegank ];
85 platforms = lib.platforms.unix;