depot/third_party/nixpkgs/pkgs/tools/misc/linux-logo/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

29 lines
680 B
Nix

{ 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";
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;
};
}