Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
65 lines
1.2 KiB
Nix
65 lines
1.2 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, rustPlatform
|
|
, rustc
|
|
, cargo
|
|
, capnproto
|
|
, blueprint-compiler
|
|
, wrapGAppsHook4
|
|
, desktop-file-utils
|
|
, libadwaita
|
|
, gtksourceview5
|
|
, openssl
|
|
, sqlite
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "notify-client";
|
|
version = "0.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ranfdev";
|
|
repo = "notify";
|
|
rev = "v${version}";
|
|
hash = "sha256-0p/XIGaawreGHbMRoHNmUEIxgwEgigtrubeJpndHsug=";
|
|
};
|
|
|
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
inherit src;
|
|
name = "${pname}-${version}";
|
|
hash = "sha256-uZRAGnydPGwyzAyHIyY+UlT42m+GyEasM0cSa8Bp9Hs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
rustPlatform.cargoSetupHook
|
|
rustc
|
|
cargo
|
|
capnproto
|
|
blueprint-compiler
|
|
wrapGAppsHook4
|
|
desktop-file-utils
|
|
];
|
|
|
|
buildInputs = [
|
|
libadwaita
|
|
gtksourceview5
|
|
openssl
|
|
sqlite
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Ntfy client application to receive everyday's notifications";
|
|
homepage = "https://github.com/ranfdev/Notify";
|
|
license = licenses.gpl3Plus;
|
|
mainProgram = "notify";
|
|
maintainers = with maintainers; [ aleksana ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|