2020-11-11 14:48:05 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "asciigraph";
|
2021-03-30 10:24:50 +02:00
|
|
|
version = "0.5.2";
|
2020-11-11 14:48:05 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/guptarohit/asciigraph";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "guptarohit";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-30 10:24:50 +02:00
|
|
|
sha256 = "sha256-iVgJtxt0B6nMA3bieZ1CmZucwLMb5av6Wn5BMDRWfcI=";
|
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";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.mmahut ];
|
|
|
|
};
|
|
|
|
}
|