nixpkgs/pkgs/tools/compression/bzip2/default.nix
Eelco Dolstra 46a15b49a0 * Ugh, bzip2 should be autotooled...
svn path=/nixpkgs/trunk/; revision=5357
2006-05-31 15:07:56 +00:00

15 lines
442 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "bzip2-1.0.3";
builder =
if stdenv.system == "powerpc-darwin" then ./builder-darwin.sh
else if stdenv.system == "i686-freebsd" then ./builder-freebsd.sh
else if stdenv.system == "i686-cygwin" then ./builder-cygwin.sh
else ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/bzip2-1.0.3.tar.gz;
md5 = "8a716bebecb6e647d2e8a29ea5d8447f";
};
}