From 683e4d747a34df88c12bfea61c5a56d9794e8ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edward=20Tj=C3=B6rnhammar?= Date: Fri, 21 Nov 2014 14:51:00 +0100 Subject: [PATCH] Revert "libdwarf: upgrade to the latest version" --- .../libraries/libdwarf/default.nix | 24 ++++++++----------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/pkgs/development/libraries/libdwarf/default.nix b/pkgs/development/libraries/libdwarf/default.nix index 295fcbc1da91..44eec24cb41d 100644 --- a/pkgs/development/libraries/libdwarf/default.nix +++ b/pkgs/development/libraries/libdwarf/default.nix @@ -1,31 +1,27 @@ { stdenv, fetchurl, libelf }: stdenv.mkDerivation rec { - name = "libdwarf-20140805"; + name = "libdwarf-20121130"; src = fetchurl { - url = "http://www.prevanders.net/${name}.tar.gz"; - sha256 = "1z5xz0w1yvk8swcqzx4dvnig94j51pns39jmipv5rl20qahik0nl"; + url = http://reality.sgiweb.org/davea/libdwarf-20121130.tar.gz; + sha256 = "1nfdfn5xf3n485pvpb853awyxxnvrg207i0wmrr7bhk8fcxdxbn0"; }; - configureFlags = "--enable-shared"; + configureFlags = " --enable-shared --disable-nonshared"; - preBuild = '' - export LD_LIBRARY_PATH=`pwd`/libdwarf + preConfigure = '' + cd libdwarf ''; - buildInputs = [ libelf ]; installPhase = '' - mkdir -p $out/lib $out/include $out/bin - cp ./dwarfdump2/dwarfdump $out/bin/dwarfdump2 - cp ./dwarfdump/dwarfdump $out/bin/dwarfdump - cp libdwarf/libdwarf.so $out/lib - cp libdwarf/libdwarf.h libdwarf/dwarf.h $out/include + mkdir -p $out/lib $out/include + cp libdwarf.so $out/lib + cp libdwarf.h dwarf.h $out/include ''; meta = { - homepage = http://www.prevanders.net/dwarf.html; - license = stdenv.lib.licenses.gpl2; + homepage = http://reality.sgiweb.org/davea/dwarf.html; }; }