2014-12-26 23:18:18 +00:00
|
|
|
{ stdenv, fetchurl, cmake, qt5, exiv2, graphicsmagick }:
|
|
|
|
|
|
|
|
let
|
2015-06-11 02:36:51 +01:00
|
|
|
version = "1.2";
|
2014-12-26 23:18:18 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "photoqt-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://photoqt.org/pkgs/photoqt-${version}.tar.gz";
|
2015-06-11 02:36:51 +01:00
|
|
|
sha256 = "1dnnj2h3j517hcbjxlzk035fis44wdmqq7dvhwpmq1rcr0v32aaa";
|
2014-12-26 23:18:18 +00:00
|
|
|
};
|
|
|
|
|
2015-03-24 15:31:27 +00:00
|
|
|
buildInputs = [ cmake qt5.base qt5.tools exiv2 graphicsmagick ];
|
2014-12-26 23:18:18 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|