2021-05-06 08:08:08 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, testVersion
|
|
|
|
, hello
|
|
|
|
}:
|
2004-11-05 20:54:19 +00:00
|
|
|
|
2010-02-09 10:41:39 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "hello";
|
2018-06-09 20:14:36 +00:00
|
|
|
version = "2.10";
|
2010-11-29 16:03:36 +00:00
|
|
|
|
2017-11-13 16:45:09 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://gnu/hello/${pname}-${version}.tar.gz";
|
2017-11-13 16:45:09 +00:00
|
|
|
sha256 = "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i";
|
2008-06-17 14:19:59 +00:00
|
|
|
};
|
2010-02-05 14:13:25 +00:00
|
|
|
|
2016-08-07 15:17:02 +00:00
|
|
|
doCheck = true;
|
2015-09-17 13:24:32 +00:00
|
|
|
|
2021-05-06 08:08:08 +00:00
|
|
|
passthru.tests.version =
|
|
|
|
testVersion { package = hello; };
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2008-06-17 14:19:59 +00:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.gnu.org/software/hello/manual/";
|
2019-05-10 16:55:29 +00:00
|
|
|
changelog = "https://git.savannah.gnu.org/cgit/hello.git/plain/NEWS?h=v${version}";
|
2018-05-22 17:25:09 +00:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = [ maintainers.eelco ];
|
|
|
|
platforms = platforms.all;
|
2004-11-05 20:54:19 +00:00
|
|
|
};
|
|
|
|
}
|