2022-05-18 14:49:53 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, stdenv}:
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "gotify-desktop";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "1.3.4";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "desbma";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-02-29 20:09:43 +00:00
|
|
|
sha256 = "sha256-TuqzwmKB48xcdzrAr7MvDA9JChobraESQZPKoy24mPE=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
cargoHash = "sha256-vg3al+eH9Q4D/T56jwWBlBT4IhuggiEVBl8WoZmUS2Y=";
|
2021-12-06 16:07:01 +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 ];
|
2022-05-18 14:49:53 +00:00
|
|
|
broken = stdenv.isDarwin;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "gotify-desktop";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
}
|