mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
26 lines
600 B
Nix
26 lines
600 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "asciigraph";
|
|
version = "0.7.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "guptarohit";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-Y+RRFFCeuDjzTznpfC7Wn3j96ZCFSOzvb8ND/ATW+JI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|