2022-04-15 01:41:22 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-11-12 09:05:59 +00:00
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
buildGoModule rec {
|
2020-11-12 09:05:59 +00:00
|
|
|
pname = "asciigraph";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "0.5.5";
|
2020-11-12 09:05:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "guptarohit";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-7sobelRCDY8mC5FYyGZmNsvUsEMxRulqPnUucNRN5J8=";
|
2020-11-12 09:05:59 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
vendorSha256 = null;
|
2022-04-15 01:41:22 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2020-11-12 09:05:59 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/guptarohit/asciigraph";
|
|
|
|
description = "Lightweight ASCII line graph ╭┈╯ command line app";
|
|
|
|
license = licenses.bsd3;
|
2022-04-15 01:41:22 +00:00
|
|
|
maintainers = with maintainers; [ mmahut ];
|
2020-11-12 09:05:59 +00:00
|
|
|
};
|
|
|
|
}
|