Merge pull request #205751 from azahi/linux_logo

linux_logo: 6.0 -> 6.01
This commit is contained in:
Bobby Rong
2022-12-12 21:15:23 +08:00
committed by GitHub
+4 -9
View File
@@ -3,30 +3,25 @@
, fetchFromGitHub
, gettext
, which
, nix-update-script
}:
stdenv.mkDerivation rec {
pname = "linux_logo";
version = "6.0";
version = "6.01";
src = fetchFromGitHub {
owner = "deater";
repo = pname;
rev = version;
sha256 = "sha256-q8QznEgnALJS//l7XXHZlq07pI2jCCm2USEU96rO8N0=";
rev = "v${version}";
hash = "sha256-yBAxPwgKyFFIX0wuG7oG+FbEDpA5cPwyyJgWrFErJ7I=";
};
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}";
changelog = "https://github.com/deater/linux_logo/blob/${src.rev}/CHANGES";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ azahi ];
platforms = platforms.linux;