Merge pull request #257952 from foo-dogsquared/add-gh-screensavers

gh-screensaver: init at 2.0.1
This commit is contained in:
Weijia Wang 2023-09-29 13:12:35 +02:00 committed by GitHub
commit eebea34b58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,28 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "gh-screensaver";
version = "2.0.1";
src = fetchFromGitHub {
owner = "vilmibm";
repo = "gh-screensaver";
rev = "v${version}";
hash = "sha256-MqwaqXGP4E+46vpgftZ9bttmMyENuojBnS6bWacmYLE=";
};
vendorHash = "sha256-o9B6Q07GP/CFekG3av01boZA7FdZg4x8CsLC3lwhn2A=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "gh extension with animated terminal screensavers";
homepage = "https://github.com/vilmibm/gh-screensaver";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ foo-dogsquared ];
mainProgram = "gh-screensaver";
};
}