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