From 0591f43c740a3024856587016a66a27b7a06f49b Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Sun, 30 Jul 2006 18:12:20 +0000 Subject: [PATCH] add dietlibc version of ncurses svn path=/nixpkgs/trunk/; revision=5993 --- pkgs/development/libraries/ncurses-diet/builder.sh | 5 +++++ pkgs/development/libraries/ncurses-diet/default.nix | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 pkgs/development/libraries/ncurses-diet/builder.sh create mode 100644 pkgs/development/libraries/ncurses-diet/default.nix diff --git a/pkgs/development/libraries/ncurses-diet/builder.sh b/pkgs/development/libraries/ncurses-diet/builder.sh new file mode 100644 index 00000000000..999f3a84e56 --- /dev/null +++ b/pkgs/development/libraries/ncurses-diet/builder.sh @@ -0,0 +1,5 @@ +source $stdenv/setup + +configureFlags="--includedir=$out/include --without-cxx-binding" + +genericBuild diff --git a/pkgs/development/libraries/ncurses-diet/default.nix b/pkgs/development/libraries/ncurses-diet/default.nix new file mode 100644 index 00000000000..64dc016d478 --- /dev/null +++ b/pkgs/development/libraries/ncurses-diet/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "ncurses-5.5"; + builder = ./builder.sh; + src = fetchurl { + url = http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.5.tar.gz; + md5 = "e73c1ac10b4bfc46db43b2ddfd6244ef"; + }; +}