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