2012-01-03 11:32:56 +01:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, gtk, freetype, fontconfig, lcms,
|
2009-04-02 17:20:19 +02:00
|
|
|
flex, libtiff, libjpeg, libpng, libexif, zlib, perl, libX11,
|
|
|
|
perlXMLParser, python, pygtk, gettext, intltool, babl, gegl,
|
|
|
|
glib, makedepend, xf86vidmodeproto, xineramaproto, libXmu, openexr,
|
2012-01-03 11:32:56 +01:00
|
|
|
mesa, libXext, libXpm, libXxf86vm, pixman, libpthreadstubs } :
|
2009-04-02 17:20:19 +02:00
|
|
|
|
2012-01-03 11:32:56 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cinepaint-1.0";
|
2009-04-02 17:20:19 +02:00
|
|
|
|
2012-01-03 11:32:56 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/cinepaint/${name}.tgz";
|
|
|
|
sha256 = "02mbpsykd7sfr9h6c6gxld6i3bdwnsgvm70b5yff01gwi69w2wi7";
|
2009-04-02 17:20:19 +02:00
|
|
|
};
|
|
|
|
|
2012-01-03 11:32:56 +01:00
|
|
|
buildInputs = [ gtk freetype fontconfig lcms flex libtiff libjpeg libpng
|
|
|
|
libexif zlib perl libX11 perlXMLParser python pygtk gettext intltool babl
|
|
|
|
gegl glib makedepend xf86vidmodeproto xineramaproto libXmu openexr mesa
|
|
|
|
libXext libXpm libXxf86vm pixman libpthreadstubs
|
|
|
|
];
|
2009-04-02 17:20:19 +02:00
|
|
|
|
2012-01-03 11:32:56 +01:00
|
|
|
buildNativeInputs = [ cmake pkgconfig ];
|
2009-04-02 17:20:19 +02:00
|
|
|
|
2009-05-28 23:57:05 +02:00
|
|
|
NIX_CFLAGS_COMPILE = "-I.";
|
2009-04-02 17:20:19 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.cinepaint.org/;
|
|
|
|
license = "free";
|
|
|
|
description = "Image editor which supports images over 8bpp and ICC profiles";
|
2009-11-29 20:22:28 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
2012-01-03 11:32:56 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-04-02 17:20:19 +02:00
|
|
|
};
|
|
|
|
}
|