nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7
8rustPlatform.buildRustPackage (finalAttrs: {
9 pname = "nu_plugin_desktop_notifications";
10 version = "0.110.0";
11
12 src = fetchFromGitHub {
13 owner = "FMotalleb";
14 repo = "nu_plugin_desktop_notifications";
15 tag = "v${finalAttrs.version}";
16 hash = "sha256-jd4T0+id/1rpjOWuzqbqxnyvmoe4LCiYux/dJlO3F6c=";
17 };
18
19 cargoHash = "sha256-7ZiQr8RBQCNQK3/tLasilZcu+HWp066iDFI67L8iZMg=";
20
21 passthru.updateScript = nix-update-script { };
22
23 meta = {
24 description = "Nushell plugin for sending desktop notifications";
25 mainProgram = "nu_plugin_desktop_notifications";
26 homepage = "https://github.com/FMotalleb/nu_plugin_desktop_notifications";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ timon ];
29 platforms = lib.platforms.linux;
30 };
31})