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";
|
2023-06-28 13:16:05 +02:00
|
|
|
version = "0.5.6";
|
2020-11-11 14:48:05 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "guptarohit";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-06-28 13:16:05 +02:00
|
|
|
sha256 = "sha256-ZmH0+UXPUyO90ZI6YsKiTd6Nf8dgZAgm7Qx8PVUkHAU=";
|
2020-11-11 14:48:05 +01:00
|
|
|
};
|
|
|
|
|
2023-06-28 13:16:05 +02:00
|
|
|
vendorHash = 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";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "asciigraph";
|
2020-11-11 14:48:05 +01:00
|
|
|
license = licenses.bsd3;
|
2022-04-07 02:45:44 +02:00
|
|
|
maintainers = with maintainers; [ mmahut ];
|
2020-11-11 14:48:05 +01:00
|
|
|
};
|
|
|
|
}
|