* Added GNU hello.
svn path=/nixpkgs/trunk/; revision=555
This commit is contained in:
parent
880d223252
commit
256aec2e56
10
pkgs/applications/misc/hello/builder.sh
Executable file
10
pkgs/applications/misc/hello/builder.sh
Executable 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
|
13
pkgs/applications/misc/hello/default.nix
Normal file
13
pkgs/applications/misc/hello/default.nix
Normal 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;
|
||||||
|
}
|
@ -446,4 +446,10 @@
|
|||||||
libpng = libpng;
|
libpng = libpng;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hello = (import ../applications/misc/hello) {
|
||||||
|
fetchurl = fetchurl;
|
||||||
|
stdenv = stdenv;
|
||||||
|
perl = perl;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user