about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/linux-logo/default.nix
blob: 5b12f75b729736af5b782709cd7e69090bc52903 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib
, stdenv
, fetchFromGitHub
, gettext
, which
}:

stdenv.mkDerivation rec {
  pname = "linux_logo";
  version = "6.01";

  src = fetchFromGitHub {
    owner = "deater";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-yBAxPwgKyFFIX0wuG7oG+FbEDpA5cPwyyJgWrFErJ7I=";
  };

  nativeBuildInputs = [ gettext which ];

  meta = with lib; {
    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/${src.rev}/CHANGES";
    license = licenses.gpl2Plus;
    maintainers = with maintainers; [ azahi ];
    platforms = platforms.linux;
  };
}