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-03-05 16:20:37 +00:00
|
|
|
version = "0.5.3";
|
2020-11-12 09:05:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "guptarohit";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-GzFJT4LI1QZzghs9g2A+pqkTg68XC+m9F14rYpMxEXM=";
|
2020-11-12 09:05:59 +00:00
|
|
|
};
|
|
|
|
|
2022-04-15 01:41:22 +00:00
|
|
|
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|