2017-08-31 16:12:52 +02:00
|
|
|
{ stdenv, fetchurl, cmake, exiv2, graphicsmagick, libraw
|
|
|
|
, qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools, qtgraphicaleffects
|
2015-12-20 03:18:02 +01:00
|
|
|
}:
|
2014-12-27 00:18:18 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "photoqt-${version}";
|
2017-08-31 16:12:52 +02:00
|
|
|
version = "1.5.1";
|
|
|
|
|
2014-12-27 00:18:18 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://photoqt.org/pkgs/photoqt-${version}.tar.gz";
|
2017-08-31 16:12:52 +02:00
|
|
|
sha256 = "17kkpzkmzfnigs26jjyd75iy58qffjsclif81cmviq73lzmqy0b1";
|
2014-12-27 00:18:18 +01:00
|
|
|
};
|
|
|
|
|
2017-05-17 21:26:11 +02:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2016-01-18 04:53:25 +01:00
|
|
|
buildInputs = [
|
2017-05-17 21:26:11 +02:00
|
|
|
qtbase qtquickcontrols qttools exiv2 graphicsmagick
|
2017-08-31 16:12:52 +02:00
|
|
|
qtmultimedia qtdeclarative libraw qtgraphicaleffects
|
2016-01-18 04:53:25 +01:00
|
|
|
];
|
2014-12-27 00:18:18 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export MAGICK_LOCATION="${graphicsmagick}/include/GraphicsMagick"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://photoqt.org/;
|
2014-12-27 00:18:18 +01:00
|
|
|
description = "Simple, yet powerful and good looking image viewer";
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eduarrrd ];
|
|
|
|
};
|
|
|
|
}
|