nixpkgs/pkgs/tools/misc/gotify-desktop/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
752 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform, openssl, pkg-config, stdenv}:
2021-11-17 02:48:47 +00:00
rustPlatform.buildRustPackage rec {
pname = "gotify-desktop";
2022-03-26 23:06:50 +00:00
version = "1.3.1";
2021-11-17 02:48:47 +00:00
src = fetchFromGitHub {
owner = "desbma";
repo = pname;
rev = version;
2022-03-26 23:06:50 +00:00
sha256 = "sha256-EDLOSxmODC7OzVSZJxwKNnFA2yh+QKE8aXmYJ+Dnv40=";
2021-11-17 02:48:47 +00:00
};
2022-03-26 23:06:50 +00:00
cargoSha256 = "sha256-opSXndOjdmYG5DJ3CDUHWhN6O7AQp4Cleldzq1Hfr1o=";
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;
maintainers = with maintainers; [ bryanasdev000 genofire ];
broken = stdenv.isDarwin;
2021-11-17 02:48:47 +00:00
};
}