1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

* Added GNU hello.

svn path=/nixpkgs/trunk/; revision=555
This commit is contained in:
Eelco Dolstra 2003-11-27 12:09:22 +00:00
parent 880d223252
commit 256aec2e56
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#! /bin/sh
buildinputs="$perl"
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd hello-* || exit 1
./configure --prefix=$out || exit 1
make || exit 1
make install || exit 1

View file

@ -0,0 +1,13 @@
{stdenv, fetchurl, perl}:
derivation {
name = "hello-2.1.1";
system = stdenv.system;
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-2.1.1.tar.gz;
md5 = "70c9ccf9fac07f762c24f2df2290784d";
};
stdenv = stdenv;
perl = perl;
}

View file

@ -446,4 +446,10 @@
libpng = libpng;
};
hello = (import ../applications/misc/hello) {
fetchurl = fetchurl;
stdenv = stdenv;
perl = perl;
};
}