forked from mirrors/nixpkgs
Merge pull request #130894 from marsam/update-gotop
gotop: 4.1.1 -> 4.1.2
This commit is contained in:
commit
de9a4fda81
|
@ -1,18 +1,18 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gotop";
|
pname = "gotop";
|
||||||
version = "4.1.1";
|
version = "4.1.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "xxxserxxx";
|
owner = "xxxserxxx";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-3t6I4ah9gUmPlIBRL86BdgiUaMNiKNEeoUSRMASz1Yc=";
|
sha256 = "15bsxaxqxp17wsr0p9fkpvgfyqnhhwm3j8jxkvcs4cdw73qaxdsy";
|
||||||
};
|
};
|
||||||
|
|
||||||
runVend = true;
|
runVend = true;
|
||||||
vendorSha256 = "sha256-GcIaUIuTiSY1aKxRtclfl7hMNaZZx4uoVG7ahjF/4Hs=";
|
vendorSha256 = "06hl1npwmy9dvpf4kljvw8lwwiigm52wf106lmf9k6k2gi5ikprz";
|
||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=v${version}" ];
|
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=v${version}" ];
|
||||||
|
|
||||||
|
@ -20,10 +20,12 @@ buildGoModule rec {
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A terminal based graphical activity monitor inspired by gtop and vtop";
|
description = "A terminal based graphical activity monitor inspired by gtop and vtop";
|
||||||
homepage = "https://github.com/xxxserxxx/gotop";
|
homepage = "https://github.com/xxxserxxx/gotop";
|
||||||
changelog = "https://github.com/xxxserxxx/gotop/blob/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/xxxserxxx/gotop/raw/v${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = [ maintainers.magnetophon ];
|
maintainers = [ maintainers.magnetophon ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
|
Loading…
Reference in a new issue