2022-04-07 02:45:44 +02:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-11-11 14:48:05 +01:00
|
|
|
|
2022-04-07 02:45:44 +02:00
|
|
|
buildGoModule rec {
|
2020-11-11 14:48:05 +01:00
|
|
|
pname = "asciigraph";
|
2022-05-25 03:26:37 +02:00
|
|
|
version = "0.5.5";
|
2020-11-11 14:48:05 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "guptarohit";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-05-25 03:26:37 +02:00
|
|
|
sha256 = "sha256-7sobelRCDY8mC5FYyGZmNsvUsEMxRulqPnUucNRN5J8=";
|
2020-11-11 14:48:05 +01:00
|
|
|
};
|
|
|
|
|
2022-05-25 03:26:37 +02:00
|
|
|
vendorSha256 = null;
|
2022-04-07 02:45:44 +02:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2020-11-11 14:48:05 +01:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/guptarohit/asciigraph";
|
|
|
|
description = "Lightweight ASCII line graph ╭┈╯ command line app";
|
|
|
|
license = licenses.bsd3;
|
2022-04-07 02:45:44 +02:00
|
|
|
maintainers = with maintainers; [ mmahut ];
|
2020-11-11 14:48:05 +01:00
|
|
|
};
|
|
|
|
}
|