diff options
author | Azat Bahawi <azat@bahawi.net> | 2022-07-06 17:21:07 +0300 |
---|---|---|
committer | superherointj <5861043+superherointj@users.noreply.github.com> | 2022-07-06 13:24:49 -0300 |
commit | c39e2068119f54cb09e72317999dc055a0db3dbd (patch) | |
tree | 8f0a247ad47497321cbb4ce431c26191096ee942 /pkgs/tools/misc | |
parent | 8b4910551355999a45b665991da2a5f3fc553ae0 (diff) |
linux_logo: init at 6.0
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/linux-logo/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/misc/linux-logo/default.nix b/pkgs/tools/misc/linux-logo/default.nix new file mode 100644 index 0000000000000..a37f25c17d0a1 --- /dev/null +++ b/pkgs/tools/misc/linux-logo/default.nix @@ -0,0 +1,34 @@ +{ lib +, stdenv +, fetchFromGitHub +, gettext +, which +, nix-update-script +}: + +stdenv.mkDerivation rec { + pname = "linux_logo"; + version = "6.0"; + + src = fetchFromGitHub { + owner = "deater"; + repo = pname; + rev = version; + sha256 = "sha256-q8QznEgnALJS//l7XXHZlq07pI2jCCm2USEU96rO8N0="; + }; + + nativeBuildInputs = [ gettext which ]; + + passthru.updateScript = nix-update-script { + attrPath = pname; + }; + + meta = with lib; { + description = "Prints an ASCII logo and some system info"; + homepage = "http://www.deater.net/weave/vmwprod/linux_logo"; + changelog = "https://github.com/deater/linux_logo/blob/${version}/CHANGES_IN_${version}"; + license = licenses.gpl2Plus; + maintainers = with maintainers; [ azahi ]; + platforms = platforms.linux; + }; +} |