2012-01-03 10:32:56 +00:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, gtk, freetype, fontconfig, lcms,
|
2009-04-02 15:20:19 +00: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 10:32:56 +00:00
|
|
|
mesa, libXext, libXpm, libXxf86vm, pixman, libpthreadstubs } :
|
2009-04-02 15:20:19 +00:00
|
|
|
|
2012-01-03 10:32:56 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "cinepaint-1.0";
|
2009-04-02 15:20:19 +00:00
|
|
|
|
2012-01-03 10:32:56 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/cinepaint/${name}.tgz";
|
|
|
|
sha256 = "02mbpsykd7sfr9h6c6gxld6i3bdwnsgvm70b5yff01gwi69w2wi7";
|
2009-04-02 15:20:19 +00:00
|
|
|
};
|
|
|
|
|
2012-01-03 10:32:56 +00: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 15:20:19 +00:00
|
|
|
|
2012-01-03 10:32:56 +00:00
|
|
|
buildNativeInputs = [ cmake pkgconfig ];
|
2009-04-02 15:20:19 +00:00
|
|
|
|
2009-05-28 21:57:05 +00:00
|
|
|
NIX_CFLAGS_COMPILE = "-I.";
|
2009-04-02 15:20:19 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.cinepaint.org/;
|
|
|
|
license = "free";
|
|
|
|
description = "Image editor which supports images over 8bpp and ICC profiles";
|
2009-11-29 19:22:28 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
2012-01-03 10:32:56 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-04-02 15:20:19 +00:00
|
|
|
};
|
|
|
|
}
|