Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 65 lines 1.2 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 meson, 6 ninja, 7 pkg-config, 8 rustPlatform, 9 rustc, 10 cargo, 11 capnproto, 12 blueprint-compiler, 13 wrapGAppsHook4, 14 desktop-file-utils, 15 libadwaita, 16 gtksourceview5, 17 openssl, 18 sqlite, 19}: 20 21stdenv.mkDerivation rec { 22 pname = "notify-client"; 23 version = "0.1.5"; 24 25 src = fetchFromGitHub { 26 owner = "ranfdev"; 27 repo = "notify"; 28 rev = "v${version}"; 29 hash = "sha256-0p/XIGaawreGHbMRoHNmUEIxgwEgigtrubeJpndHsug="; 30 }; 31 32 cargoDeps = rustPlatform.fetchCargoVendor { 33 inherit pname version src; 34 hash = "sha256-hnv4XXsx/kmhH4YUTdTvvxxjbguHBx3TnUKacGwnCTw="; 35 }; 36 37 nativeBuildInputs = [ 38 meson 39 ninja 40 pkg-config 41 rustPlatform.cargoSetupHook 42 rustc 43 cargo 44 capnproto 45 blueprint-compiler 46 wrapGAppsHook4 47 desktop-file-utils 48 ]; 49 50 buildInputs = [ 51 libadwaita 52 gtksourceview5 53 openssl 54 sqlite 55 ]; 56 57 meta = with lib; { 58 description = "Ntfy client application to receive everyday's notifications"; 59 homepage = "https://github.com/ranfdev/Notify"; 60 license = licenses.gpl3Plus; 61 mainProgram = "notify"; 62 maintainers = with maintainers; [ aleksana ]; 63 platforms = platforms.linux; 64 }; 65}