2014-12-27 00:18:18 +01:00
|
|
|
{ stdenv, fetchurl, cmake, qt5, exiv2, graphicsmagick }:
|
|
|
|
|
|
|
|
let
|
2015-06-11 03:36:51 +02:00
|
|
|
version = "1.2";
|
2014-12-27 00:18:18 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "photoqt-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://photoqt.org/pkgs/photoqt-${version}.tar.gz";
|
2015-06-11 03:36:51 +02:00
|
|
|
sha256 = "1dnnj2h3j517hcbjxlzk035fis44wdmqq7dvhwpmq1rcr0v32aaa";
|
2014-12-27 00:18:18 +01:00
|
|
|
};
|
|
|
|
|
2015-03-24 16:31:27 +01:00
|
|
|
buildInputs = [ cmake qt5.base qt5.tools exiv2 graphicsmagick ];
|
2014-12-27 00:18:18 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export MAGICK_LOCATION="${graphicsmagick}/include/GraphicsMagick"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://photoqt.org/";
|
|
|
|
description = "Simple, yet powerful and good looking image viewer";
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eduarrrd ];
|
|
|
|
};
|
|
|
|
}
|