nixpkgs/pkgs/tools/text/asciigraph/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
568 B
Nix
Raw Normal View History

2022-04-07 00:45:44 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2020-11-11 13:48:05 +00:00
2022-04-07 00:45:44 +00:00
buildGoModule rec {
2020-11-11 13:48:05 +00:00
pname = "asciigraph";
2023-06-28 11:16:05 +00:00
version = "0.5.6";
2020-11-11 13:48:05 +00:00
src = fetchFromGitHub {
owner = "guptarohit";
repo = pname;
rev = "v${version}";
2023-06-28 11:16:05 +00:00
sha256 = "sha256-ZmH0+UXPUyO90ZI6YsKiTd6Nf8dgZAgm7Qx8PVUkHAU=";
2020-11-11 13:48:05 +00:00
};
2023-06-28 11:16:05 +00:00
vendorHash = null;
2022-04-07 00:45:44 +00:00
ldflags = [ "-s" "-w" ];
2020-11-11 13:48:05 +00:00
meta = with lib; {
homepage = "https://github.com/guptarohit/asciigraph";
description = "Lightweight ASCII line graph command line app";
license = licenses.bsd3;
2022-04-07 00:45:44 +00:00
maintainers = with maintainers; [ mmahut ];
2020-11-11 13:48:05 +00:00
};
}