2012-07-02 20:10:10 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtk, cmake, pixman, libpthreadstubs, gtkmm, libXau
|
|
|
|
, libXdmcp, lcms2, libiptcdata
|
|
|
|
, mercurial # Not really needed for anything, but it fails if it does not find 'hg'
|
2010-01-17 18:49:35 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-07-02 20:10:10 +02:00
|
|
|
name = "rawtherapee-4.0.9";
|
2010-01-17 18:49:35 +01:00
|
|
|
|
2012-07-02 20:10:10 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://rawtherapee.googlecode.com/files/rawtherapee-4.0.9.tar.xz;
|
|
|
|
sha256 = "1ll7n7gzxs00jpw3gp9xfr90lbwqafkgqpps3j5ig6mf79frpm2a";
|
2010-01-17 18:49:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig gtk cmake pixman libpthreadstubs gtkmm libXau libXdmcp
|
2012-07-02 20:10:10 +02:00
|
|
|
lcms2 libiptcdata mercurial ];
|
2010-01-17 18:49:35 +01:00
|
|
|
|
|
|
|
# Disable the use of the RAWZOR propietary libraries
|
|
|
|
cmakeFlags = [ "-DWITH_RAWZOR=OFF" ];
|
|
|
|
|
2012-07-02 20:10:10 +02:00
|
|
|
enableParallelBuilding = true;
|
2010-01-17 18:49:35 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "RAW converter and digital photo processing software";
|
|
|
|
homepage = http://www.rawtherapee.com/;
|
|
|
|
license = "GPLv3+";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|