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";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.3.2";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "desbma";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-aJBgvgDG3PIogTP7jZtncKeXc7NAnJdtjpBOk303wzs=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
cargoHash = "sha256-JJlTS22XveuLd53ck7zduQVvEk1E/yOGkBSTvDf/XEQ=";
|
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
|
|
|
};
|
|
|
|
}
|