From 8db01883b83b917d6276d11c8e564e4dee526930 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Thu, 17 Jan 2008 13:00:51 +0000 Subject: [PATCH] libunwind added svn path=/nixpkgs/branches/stdenv-updates/; revision=10194 --- pkgs/development/libraries/libunwind/default.nix | 14 ++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/libraries/libunwind/default.nix 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 e9cc18c9034d..8878eb6c3f6c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2209,6 +2209,10 @@ rec { inherit fetchurl stdenv; }; + libunwind = import ../development/libraries/libunwind { + inherit fetchurl stdenv; + }; + libvorbis = import ../development/libraries/libvorbis { inherit fetchurl stdenv libogg; };