nixpkgs/pkgs/applications/misc/hello/default.nix
Jan Malakhovski ee1550b763 hello-unfree: init at 1.0 (#41763)
Also add `version` attribute to GNU `hello` while we are at it.
2018-06-09 22:14:36 +02:00

25 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;
};
}