2022-05-09 16:11:54 +00:00
|
|
|
{ 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;
|
2021-11-20 10:47:57 +00:00
|
|
|
maintainers = with maintainers; [ bryanasdev000 genofire ];
|
2022-05-09 16:11:54 +00:00
|
|
|
broken = stdenv.hostPlatform.isDarwin;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "gotify-desktop";
|
2021-11-17 02:48:47 +00:00
|
|
|
};
|
|
|
|
}
|