summary refs log tree commit diff
path: root/pkgs/applications/audio/audacity/default.nix
blob: f2e2a130c0ac53a0b4cd361b2310241146a99a07 (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
{ stdenv, fetchurl, wxGTK, pkgconfig, gettext, gtk, glib, zlib, perl, intltool,
  libogg, libvorbis, libmad, alsaLib, libsndfile, libsamplerate, flac, lame,
  expat, id3lib, ffmpeg, portaudio
  }:

stdenv.mkDerivation rec {
  version = "1.3.13";
  name = "audacity-${version}";

  NIX_CFLAGS_COMPILE = "-fPIC -lgtk-x11-2.0 -lglib-2.0 -lgobject-2.0 -lz";

  src = fetchurl {
    url = "mirror://sourceforge/audacity/audacity-minsrc-${version}-beta.tar.bz2";
    sha256 = "4c2eda638e16e16dfddd202e86ccbe1d170b04c26cfb2c12ffcba0b79e7e1e83";
  };
  buildInputs = [ wxGTK pkgconfig gettext gtk glib zlib intltool perl 
    libogg libvorbis libmad alsaLib libsndfile libsamplerate flac lame
    expat id3lib ffmpeg portaudio];

  configureFlags = [
  ];

  dontDisableStatic = true;

  meta = {
    description = "Sound editor with graphical UI";
    homepage = http://audacity.sourceforge.net;
    license = "GPLv2+";
    platforms = with stdenv.lib.platforms; linux;
  };
}