mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
39 lines
1.3 KiB
Nix
39 lines
1.3 KiB
Nix
{ stdenv, fetchurl, cmake, pkgconfig, gtk2, freetype, fontconfig, lcms,
|
|
flex, libtiff, libjpeg, libpng, libexif, zlib, perlPackages, libX11,
|
|
pythonPackages, gettext, intltool, babl, gegl,
|
|
glib, makedepend, xorgproto, libXmu, openexr,
|
|
libGLU_combined, libXext, libXpm, libXau, libXxf86vm, pixman, libpthreadstubs, fltk } :
|
|
|
|
let
|
|
inherit (pythonPackages) python pygtk;
|
|
in stdenv.mkDerivation rec {
|
|
name = "cinepaint-1.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/cinepaint/${name}.tgz";
|
|
sha256 = "0b5g4bkq62yiz1cnb2vfij0a8fw5w5z202v5dm4dh89k7cj0yq4w";
|
|
};
|
|
|
|
buildInputs = [ libpng gtk2 freetype fontconfig lcms flex libtiff libjpeg
|
|
libexif zlib libX11 python pygtk gettext intltool babl
|
|
gegl glib makedepend xorgproto libXmu openexr libGLU_combined
|
|
libXext libXpm libXau libXxf86vm pixman libpthreadstubs fltk
|
|
] ++ (with perlPackages; [ perl XMLParser ]);
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
patches = [ ./install.patch ];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
NIX_LDFLAGS = "-lm -llcms -ljpeg -lpng -lX11";
|
|
|
|
meta = {
|
|
homepage = http://www.cinepaint.org/;
|
|
license = stdenv.lib.licenses.free;
|
|
description = "Image editor which supports images over 8bpp and ICC profiles";
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|