nixpkgs/pkgs/tools/compression/xz/default.nix
Lluís Batlle i Rossell a38202bc8b Updating xz to a stable version. Not beta anymore. (more stdenv rebuild)
svn path=/nixpkgs/branches/stdenv-updates/; revision=24483
2010-10-26 08:33:18 +00:00

26 lines
676 B
Nix

{stdenv, fetchurl, lib}:
stdenv.mkDerivation ({
name = "xz-5.0.0";
src = fetchurl {
url = http://tukaani.org/xz/xz-5.0.0.tar.bz2;
sha256 = "1n2nc00d83di0jl5d9qwpngkmlk3wqhs4w9q2ah680v9qijrxa27";
};
meta = {
homepage = http://tukaani.org/xz/;
description = "Successor of the LZMA Utils package";
license = "GPL/LGPL";
maintainers = [ lib.maintainers.sander ];
};
}
//
(if stdenv.system == "x86_64-darwin"
# Work around assembler misconfiguration as `x86'. This appears to be fixed
# by commit b9b5c54cd438b3ae47b44cc211b71f3bc53e35ef (Nov 22 12:00:30 2009 # +0200).
then { configureFlags = "--enable-assembler=x86_64"; }
else {}))