nixpkgs/pkgs/tools/misc/gotify-desktop/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
799 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, stdenv}:
2021-11-17 02:48:47 +00:00
rustPlatform.buildRustPackage rec {
pname = "gotify-desktop";
2024-07-10 01:17:58 +00:00
version = "1.3.7";
2021-11-17 02:48:47 +00:00
src = fetchFromGitHub {
owner = "desbma";
repo = pname;
rev = version;
2024-07-10 01:17:58 +00:00
sha256 = "sha256-ISK1sI7NkXJBtuCkl5g8ffrGv5dYgzmpsmPTZmDAaMI=";
2021-11-17 02:48:47 +00:00
};
2024-07-10 01:17:58 +00:00
cargoHash = "sha256-QK2rzC9l+CiDv1+0NzR2x5B/5BYiY8KkLC2jxBdjXMU=";
2021-11-17 02:48:47 +00:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "Small Gotify daemon to send messages as desktop notifications";
homepage = "https://github.com/desbma/gotify-desktop";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ bryanasdev000 genofire ];
broken = stdenv.hostPlatform.isDarwin;
2023-11-27 01:17:53 +00:00
mainProgram = "gotify-desktop";
2021-11-17 02:48:47 +00:00
};
}