2013-09-25 22:25:55 +01:00
|
|
|
{ stdenv, fetchurl, libsoup, graphicsmagick, SDL, json_glib
|
2011-10-21 15:43:18 +01:00
|
|
|
, GConf, atk, cairo, cmake, curl, dbus_glib, exiv2, glib
|
2016-01-09 00:24:28 +00:00
|
|
|
, libgnome_keyring, gtk3, ilmbase, intltool, lcms, lcms2
|
2011-10-21 15:43:18 +01:00
|
|
|
, lensfun, libXau, libXdmcp, libexif, libglade, libgphoto2, libjpeg
|
2016-01-09 00:24:28 +00:00
|
|
|
, libpng, libpthreadstubs, librsvg, libtiff, libxcb
|
2013-09-25 22:25:55 +01:00
|
|
|
, openexr, pixman, pkgconfig, sqlite, bash, libxslt, openjpeg
|
2016-01-09 00:24:28 +00:00
|
|
|
, mesa, lua, pugixml, colord, colord-gtk, libxshmfence, libxkbcommon
|
|
|
|
, epoxy, at_spi2_core, libwebp, libsecret, wrapGAppsHook, gnome3
|
|
|
|
}:
|
2011-10-21 15:43:18 +01:00
|
|
|
|
|
|
|
assert stdenv ? glibc;
|
2011-01-08 21:55:33 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-10 22:23:16 +00:00
|
|
|
version = "2.0.2";
|
2011-01-08 21:55:33 +00:00
|
|
|
name = "darktable-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-12-09 17:50:22 +00:00
|
|
|
url = "https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz";
|
2016-03-10 22:23:16 +00:00
|
|
|
sha256 = "0014j73sy956xqdhd4jrxvbamildqqadx8hmagrbiah8xda67skm";
|
2011-01-08 21:55:33 +00:00
|
|
|
};
|
|
|
|
|
2011-10-21 15:43:18 +01:00
|
|
|
buildInputs =
|
2016-01-09 00:24:28 +00:00
|
|
|
[ GConf atk cairo cmake curl dbus_glib exiv2 glib libgnome_keyring gtk3
|
2011-10-21 15:43:18 +01:00
|
|
|
ilmbase intltool lcms lcms2 lensfun libXau libXdmcp libexif
|
2016-01-09 00:24:28 +00:00
|
|
|
libglade libgphoto2 libjpeg libpng libpthreadstubs
|
2012-11-27 13:32:22 +00:00
|
|
|
librsvg libtiff libxcb openexr pixman pkgconfig sqlite libxslt
|
2016-01-09 00:24:28 +00:00
|
|
|
libsoup graphicsmagick SDL json_glib openjpeg mesa lua pugixml
|
|
|
|
colord colord-gtk libxshmfence libxkbcommon epoxy at_spi2_core
|
|
|
|
libwebp libsecret wrapGAppsHook gnome3.adwaita-icon-theme
|
2011-10-21 15:43:18 +01:00
|
|
|
];
|
2011-01-08 21:55:33 +00:00
|
|
|
|
2011-07-31 11:49:19 +01:00
|
|
|
cmakeFlags = [
|
2013-09-25 22:25:55 +01:00
|
|
|
"-DBUILD_USERMANUAL=False"
|
2011-07-31 11:49:19 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Virtual lighttable and darkroom for photographers";
|
2014-12-09 17:50:22 +00:00
|
|
|
homepage = http://www.darktable.org;
|
2011-07-31 11:49:19 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2014-12-09 17:50:22 +00:00
|
|
|
maintainers = [ maintainers.goibhniu maintainers.rickynils maintainers.flosse ];
|
2011-01-08 21:55:33 +00:00
|
|
|
};
|
|
|
|
}
|