diff --git a/pkgs/development/libraries/libunwind/default.nix b/pkgs/development/libraries/libunwind/default.nix
new file mode 100644
index 000000000000..52ed30c0ae96
--- /dev/null
+++ b/pkgs/development/libraries/libunwind/default.nix
@@ -0,0 +1,14 @@
+args: with args;
+stdenv.mkDerivation rec {
+	name = "libunwind-0.98.6";
+	src = fetchurl {
+		url = "http://download.savannah.nongnu.org/releases/libunwind/${name}.tar.gz";
+		sha256 = "1qfxqkyx4r5dmwajyhvsyyl8zwxs6n2rcg7a61fgfdfp0gxvpzgx";
+	};
+	configureFlags = "--enable-shared --disable-static";
+	meta = {
+		homepage = http://www.nongnu.org/libunwind;
+		description = "The primary goal of this project is to define a portable
+		and efficient API to determine the call-chain of a program";
+	};
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 4a3104b3d439..64738d73ca2e 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -2305,6 +2305,10 @@ rec {
     inherit fetchurl stdenv;
   };
 
+  libunwind = import ../development/libraries/libunwind {
+    inherit fetchurl stdenv;
+  };
+
   libvorbis = import ../development/libraries/libvorbis {
     inherit fetchurl stdenv libogg;
   };