gotify: init add 2.1.1
This commit is contained in:
parent
eb9a358ebc
commit
6b8400381c
26
pkgs/tools/misc/gotify-cli/default.nix
Normal file
26
pkgs/tools/misc/gotify-cli/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ buildGoModule, fetchFromGitHub, lib }:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "gotify-cli";
|
||||||
|
version = "2.1.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "gotify";
|
||||||
|
repo = "cli";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "131gs6xzfggnrzq5jgyky23zvcmhx3q3hd17xvqxd02s2i9x1mg4";
|
||||||
|
};
|
||||||
|
|
||||||
|
modSha256 = "1lrsg33zd7m24za2gv407hz02n3lmz9qljfk82whlj44hx7kim1z";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mv $out/bin/cli $out/bin/gotify
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = https://github.com/gotify/cli;
|
||||||
|
description = "A command line interface for pushing messages to gotify/server.";
|
||||||
|
maintainers = with maintainers; [ ma27 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -1713,6 +1713,8 @@ in
|
|||||||
|
|
||||||
gosu = callPackage ../tools/misc/gosu { };
|
gosu = callPackage ../tools/misc/gosu { };
|
||||||
|
|
||||||
|
gotify-cli = callPackage ../tools/misc/gotify-cli { };
|
||||||
|
|
||||||
gping = callPackage ../tools/networking/gping { };
|
gping = callPackage ../tools/networking/gping { };
|
||||||
|
|
||||||
greg = callPackage ../applications/audio/greg {
|
greg = callPackage ../applications/audio/greg {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user