nixpkgs/pkgs/tools/compression/bzip2/default.nix
Eelco Dolstra 1ace3742a3 * Fix bzip2 on cygwin.
svn path=/nixpkgs/trunk/; revision=7025
2006-11-13 23:01:35 +00:00

15 lines
411 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "bzip2-1.0.3";
builder = if stdenv.system == "i686-cygwin" then ./builder-cygwin.sh else ./builder.sh; # !!! merge
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/bzip2-1.0.3.tar.gz;
md5 = "8a716bebecb6e647d2e8a29ea5d8447f";
};
sharedLibrary =
!stdenv.isDarwin && !(stdenv ? isDietLibC) && stdenv.system != "i686-cygwin";
}