Skip to content

Commit

Permalink
grafterm: init at 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Arik Grahl committed Sep 13, 2022
1 parent a81b640 commit 6480fd8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/tools/misc/grafterm/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
pname = "grafterm";
version = "0.2.0";

src = fetchFromGitHub {
owner = "slok";
repo = pname;
rev = "v${version}";
hash = "sha256-0pM36rAmwx/P1KAlmVaGoSj8eb9JucYycNC2R867dVo=";
};

vendorHash = "sha256-veg5B68AQhkSZg8YA/e4FbqJNG0YGwnUQFsAdscz0QI=";

ldflags = [ "-s" "-w" "-X main.Version=${version}" ];

meta = with lib; {
description = "Command-line tool for rendering metrics dashboards inspired by Grafana";
homepage = "https://github.com/slok/grafterm";
license = licenses.asl20;
maintainers = with maintainers; [ arikgrahl ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7158,6 +7158,8 @@ with pkgs;

gptfdisk = callPackage ../tools/system/gptfdisk { };

grafterm = callPackage ../tools/misc/grafterm { };

grafx2 = callPackage ../applications/graphics/grafx2 {};

grails = callPackage ../development/web/grails { jdk = null; };
Expand Down

0 comments on commit 6480fd8

Please sign in to comment.