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-04-21 15:54:59 +00:00
|
|
|
version = "1.3.6";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "desbma";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2024-04-21 15:54:59 +00:00
|
|
|
sha256 = "sha256-epolESdf9+2lI+AJ8hMpVPakS1f8fYam+JniiPLIHCs=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
cargoHash = "sha256-VJ/k6sfBCuokXGpfZ9zGQ7ucbHLweUSgBhlChwko69g=";
|
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
|
|
|
};
|
|
|
|
}
|