Merge pull request #295935 from Aleksanaa/notify
notify-client: init at 0.1.5
This commit is contained in:
commit
c299d605b2
1 changed files with 65 additions and 0 deletions
65
pkgs/by-name/no/notify-client/package.nix
Normal file
65
pkgs/by-name/no/notify-client/package.nix
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue