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

23 lines
569 B
Nix
Raw Normal View History

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