4b27d28701
This comes from: svn diff ^/nixpkgs/trunk/@18255 ^/nixpkgs/branches/stdenv-updates/ > diff patch -p0 < diff and then adding into svn all files new from the patch. trunk@18255 comes from the last time I updated stdenv-updates from trunk. svn path=/nixpkgs/stdenv-updates2/; revision=18272
23 lines
553 B
Nix
23 lines
553 B
Nix
{stdenv, fetchurl, linkStatic ? false}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "bzip2-1.0.5";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
url = http://www.bzip.org/1.0.5/bzip2-1.0.5.tar.gz;
|
|
sha256 = "08py2s9vw6dgw457lbklh1vsr3b8x8dlv7d8ygdfaxlx61l57gzp";
|
|
};
|
|
|
|
sharedLibrary =
|
|
!stdenv.isDarwin && !(stdenv ? isDietLibC) && !(stdenv ? isStatic) && stdenv.system != "i686-cygwin" && !linkStatic;
|
|
|
|
makeFlags = if linkStatic then "LDFLAGS=-static" else "";
|
|
|
|
inherit linkStatic;
|
|
|
|
meta = {
|
|
homepage = http://www.bzip.org;
|
|
};
|
|
}
|