forked from mirrors/nixpkgs
ee1550b763
Also add `version` attribute to GNU `hello` while we are at it.
26 lines
671 B
Nix
26 lines
671 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "hello-${version}";
|
|
version = "2.10";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/hello/${name}.tar.gz";
|
|
sha256 = "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i";
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A program that produces a familiar, friendly greeting";
|
|
longDescription = ''
|
|
GNU Hello is a program that prints "Hello, world!" when you run it.
|
|
It is fully customizable.
|
|
'';
|
|
homepage = http://www.gnu.org/software/hello/manual/;
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ maintainers.eelco ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|