depot/third_party/nixpkgs/pkgs/tools/misc/gotify-desktop/default.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

28 lines
786 B
Nix

{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, stdenv}:
rustPlatform.buildRustPackage rec {
pname = "gotify-desktop";
version = "1.3.3";
src = fetchFromGitHub {
owner = "desbma";
repo = pname;
rev = version;
sha256 = "sha256-vyOXZQ2X/LT/saBxcEbD96U34ufxjcWTHAobGI3bAE4=";
};
cargoHash = "sha256-MNxHJ1iirHj78wq6ChDjr6mQS0UmHPjVMs1EPFZyTV0=";
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.isDarwin;
mainProgram = "gotify-desktop";
};
}