2022-07-06 14:21:07 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
gettext,
|
|
|
|
which,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "linux_logo";
|
2022-12-10 11:42:15 +00:00
|
|
|
version = "6.01";
|
2022-07-06 14:21:07 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deater";
|
|
|
|
repo = pname;
|
2022-12-10 11:42:15 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-yBAxPwgKyFFIX0wuG7oG+FbEDpA5cPwyyJgWrFErJ7I=";
|
2022-07-06 14:21:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
which
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Prints an ASCII logo and some system info";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "linux_logo";
|
2022-07-06 14:21:07 +00:00
|
|
|
homepage = "http://www.deater.net/weave/vmwprod/linux_logo";
|
2022-12-10 11:42:15 +00:00
|
|
|
changelog = "https://github.com/deater/linux_logo/blob/${src.rev}/CHANGES";
|
2022-07-06 14:21:07 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ azahi ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|