1{ lib, buildGoModule, fetchFromGitHub }:
2
3buildGoModule rec {
4 pname = "asciigraph";
5 version = "0.5.5";
6
7 src = fetchFromGitHub {
8 owner = "guptarohit";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-7sobelRCDY8mC5FYyGZmNsvUsEMxRulqPnUucNRN5J8=";
12 };
13
14 vendorSha256 = null;
15
16 ldflags = [ "-s" "-w" ];
17
18 meta = with lib; {
19 homepage = "https://github.com/guptarohit/asciigraph";
20 description = "Lightweight ASCII line graph ╭┈╯ command line app";
21 license = licenses.bsd3;
22 maintainers = with maintainers; [ mmahut ];
23 };
24}