nixpkgs-suyu/pkgs/tools/misc/gotify-cli/default.nix
Jörg Thalheim 066db11215
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504, reversing
changes made to afd997aab6.

Instead we propagate those frameworks from the compiler again
2020-03-27 07:33:21 +00:00

26 lines
640 B
Nix

{ 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 ];
};
}