35 lines
742 B
Nix
35 lines
742 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
gettext,
|
|
which,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "linux_logo";
|
|
version = "6.01";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deater";
|
|
repo = "linux_logo";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-yBAxPwgKyFFIX0wuG7oG+FbEDpA5cPwyyJgWrFErJ7I=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gettext
|
|
which
|
|
];
|
|
|
|
meta = {
|
|
description = "Prints an ASCII logo and some system info";
|
|
mainProgram = "linux_logo";
|
|
homepage = "http://www.deater.net/weave/vmwprod/linux_logo";
|
|
changelog = "https://github.com/deater/linux_logo/blob/${finalAttrs.src.rev}/CHANGES";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|