587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
25 lines
600 B
Nix
25 lines
600 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "asciigraph";
|
|
version = "0.7.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "guptarohit";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-pCfjk8ViMY2iAus2/hibSZXgKY9YBFRH3vsD19MTJ+8=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/guptarohit/asciigraph";
|
|
description = "Lightweight ASCII line graph ╭┈╯ command line app";
|
|
mainProgram = "asciigraph";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ mmahut ];
|
|
};
|
|
}
|