mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
3bae8e9590
when I commited it, so it has been a expression that only worked for me, I think, because I had done the proper fetchcvs previously. svn path=/nixpkgs/trunk/; revision=18699
41 lines
1.4 KiB
Nix
41 lines
1.4 KiB
Nix
{ stdenv, fetchcvs, cmake, pkgconfig, gtk, freetype, fontconfig, lcms, fltk,
|
|
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, automake, autoconf, libtool } :
|
|
|
|
stdenv.mkDerivation {
|
|
name = "cinepaint-0.25.0";
|
|
|
|
# The developer told me this cvs fetch is 0.25.0
|
|
src = fetchcvs {
|
|
cvsRoot = ":pserver:anonymous@cinepaint.cvs.sourceforge.net:/cvsroot/cinepaint";
|
|
module = "cinepaint-project";
|
|
date = "2008-11-06";
|
|
sha256 = "f5ac249628ffe04349d1bb3b1e078be0cda7575dd71d12ae74143baa006acb6d";
|
|
};
|
|
|
|
buildInputs = [ cmake pkgconfig gtk freetype fontconfig lcms fltk 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 automake autoconf libtool ];
|
|
|
|
dontUseCmakeConfigure = 1;
|
|
|
|
NIX_CFLAGS_COMPILE = "-I.";
|
|
|
|
configurePhase = ''
|
|
cd cinepaint
|
|
chmod 0777 autogen.sh
|
|
./autogen.sh
|
|
./configure --prefix=$out
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://www.cinepaint.org/;
|
|
license = "free";
|
|
description = "Image editor which supports images over 8bpp and ICC profiles";
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|