about summary refs log tree commit diff
path: root/pkgs/applications/audio/ardour/default.nix
blob: 0359e9c711d3569b08543a34aabacd22e89646ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
args: with args;

stdenv.mkDerivation {

  name = "ardour-2.8.2";

  # svn is the source to get official releases from their site?
  # alternative: wget  --data-urlencode 'key=7c4b2e1df903aae5ff5cc4077cda801e' http://ardour.org/downloader
  # but hash is changing ?
  src = fetchurl {
    url = http://mawercer.de/~nix/ardour-2.8.2.tar.bz2;
    sha256 = "1igwv1r6rlybdac24qady5asaf34f9k7kawkkgyvsifhl984m735";
  };

  buildInputs = [
    scons boost
    pkgconfig fftw librdf_raptor librdf_rasqal jackaudio flac
    libsamplerate alsaLib libxml2 libxslt libsndfile libsigcxx libusb cairomm
    glib pango gtk glibmm gtkmm libgnomecanvas fftw librdf liblo aubio
    fftw fftwSinglePrec libmad
  ];

  buildPhase = ''
    ensureDir $out
    export CXX=g++
    scons PREFIX=$out install
  '';
  
  installPhase = ":";

  meta = { 
    description = "Multi-track hard disk recording software";
    longDescription = ''
      Also read "The importance of Paying Something" on their homepage, please!
    '';
    homepage = http://ardour.org/;
    license = "GPLv2";
    maintainers = [args.lib.maintainers.marcweber];
    platforms = args.lib.platforms.linux;
  };
}