Hello, Nix!

In this Nix expression, we define the GNU Hello package in a way that Nix will understand.

{ stdenv, fetchurl, perl }:

stdenv.mkDerivation {
  pname = "hello";
  version = "2.1.1"
  builder = ./builder.sh;
  src = fetchurl {
    url = ftp://ftp.nluug.nl/pub/gnu/hello/hello-${version}.tar.gz;
    sha256 = "1md7jsfd8pa45z73bz1kszpp01yw6x5ljkjk2hx7wl800any6465";
  };
  inherit perl;
}