summary refs log tree commit diff
path: root/pkgs/applications/audio/lame/default.nix
blob: 09b553a099c6ba5f356629a19b574a071482136e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{stdenv, fetchurl, nasm}:

stdenv.mkDerivation rec {
  name = "lame-3.99.5";
  src = fetchurl {
    url = "mirror://sourceforge/lame/${name}.tar.gz";
    sha256 = "1zr3kadv35ii6liia0bpfgxpag27xcivp571ybckpbz4b10nnd14";
  };

  buildInputs = [ nasm ];

  configureFlags = [ "--enable-nasm" ];

  # Either disable static, or fix the rpath of 'lame' for it to point
  # properly to the libmp3lame shared object.
  dontDisableStatic = true;
}