nixpkgs/pkgs/applications/audio/lame/default.nix
Lluís Batlle i Rossell 222e41519e Making lame compile with assembly optimization for i386
svn path=/nixpkgs/trunk/; revision=21620
2010-05-05 20:38:13 +00:00

17 lines
436 B
Nix

{stdenv, fetchurl, nasm}:
stdenv.mkDerivation {
name = "lame-3.98.2";
src = fetchurl {
url = mirror://sourceforge/lame/lame-398-2.tar.gz;
sha256 = "0cmgr515szd9kd19mpzvwl3cbnpfyjyi47swj4afblcfkmb2hym1";
};
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;
}