about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/text/asciigraph/default.nix
blob: 27c2a1ff28ec313ccc5a3bc9ee13f34157e7ffb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "asciigraph";
  version = "0.5.2";

  goPackagePath = "github.com/guptarohit/asciigraph";

  src = fetchFromGitHub {
    owner = "guptarohit";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-iVgJtxt0B6nMA3bieZ1CmZucwLMb5av6Wn5BMDRWfcI=";
  };

  meta = with lib; {
    homepage = "https://github.com/guptarohit/asciigraph";
    description = "Lightweight ASCII line graph ╭┈╯ command line app";
    license = licenses.bsd3;
    maintainers = [ maintainers.mmahut ];
  };
}