diff options
| -rw-r--r-- | default.nix | 2 | ||||
| -rw-r--r-- | pkgs/term-banner/default.nix | 25 |
2 files changed, 27 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 32fbcc2..7552163 100644 --- a/default.nix +++ b/default.nix @@ -18,6 +18,8 @@ example-package = pkgs.callPackage ./pkgs/example-package { }; hgrep = pkgs.callPackage ./pkgs/hgrep { }; + reparojson = pkgs.callPackage ./pkgs/reparojson { }; + term-banner = pkgs.callPackage ./pkgs/term-banner { }; term-clock = pkgs.callPackage ./pkgs/term-clock { }; } diff --git a/pkgs/term-banner/default.nix b/pkgs/term-banner/default.nix new file mode 100644 index 0000000..37ab1a5 --- /dev/null +++ b/pkgs/term-banner/default.nix @@ -0,0 +1,25 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "term-banner"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "nsfisis"; + repo = "term-banner"; + rev = "v${version}"; + hash = "sha256-YCIT+6PdHLrOrPzWpF/U8G8qGcYDXkgVMde/IUWRe84="; + }; + vendorHash = "sha256-i78RKipeirkmteFsYmmmu0gU4cjph01gn/9zl8lcpXM="; + + meta = { + description = "Show a banner in your terminal."; + homepage = "https://github.com/nsfisis/term-banner"; + license = lib.licenses.mit; + mainProgram = "term-banner"; + }; +} |
