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