nixpkgs/pkgs/applications/video/cinelerra/default.nix
Eelco Dolstra cee387e845 * Move the composition of Haskell packages out of all-packages.nix
into haskell-packages.nix, which depends on an instance of GHC.
  This allows a consistent set of packages to be built with the same
  GHC.  For instance,

  $ nix-build -A haskellPackages_ghc683.xmonad

  builds xmonad and all its dependencies with GHC 6.8.3, while

  $ nix-build -A haskellPackages_ghc6102.xmonad

  does the same with GHC 6.10.2.  This is the same technique used with
  kernelPackages.  It also means that we don't need things like
  "cabal682" and "cabal683" anymore.

* The setup hook is now in a separate wrapper package so that we don't
  have to recompile all of GHC every time we want to make a small
  change.

* cinelerra: this package appears to have an accidental dependency on
  the "X11" Haskell package.

svn path=/nixpkgs/trunk/; revision=15125
2009-04-18 12:47:11 +00:00

34 lines
796 B
Nix

args:
args.stdenv.mkDerivation {
name = "cinelerra-git";
src = args.sourceByName "cinelerra";
perl = args.perl;
preConfigure = ''
find -type f -print0 | xargs --null sed -e "s@/usr/bin/perl@$perl/bin/perl@" -i
./autogen.sh
'';
configureOptions = ["--enable-freetype2"];
buildInputs =(with args; [
automake autoconf libtool pkgconfig
faad2 faac
a52dec alsaLib fftw lame libavc1394 libiec61883
libraw1394 libsndfile libvorbis libogg libjpeg libtiff freetype
mjpegtools x264 gettext openexr esound
#
libXxf86vm libXv
libtheora libpng libdv
nasm
perl
e2fsprogs
]);
meta = {
description = "Cinelerra - Video Editor";
homepage = http://www.cinelerra.org;
license = "GPLv2";
};
}