via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
28 lines
677 B
Nix
28 lines
677 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "bunnyfetch";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Rosettea";
|
|
repo = "bunnyfetch";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-6MnjCXc9/8twdf8PHKsVJY1yWYwUf5R01vtQFJbyy7M=";
|
|
};
|
|
|
|
vendorHash = "sha256-w+O1dU8t7uNvdlFnYhCdJCDixpWWZAnj9GrtsCbu9SM=";
|
|
|
|
# No upstream tests
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Tiny system info fetch utility";
|
|
homepage = "https://github.com/Rosettea/bunnyfetch";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ devins2518 ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "bunnyfetch";
|
|
};
|
|
}
|