diff options
author | Aleksana <me@aleksana.moe> | 2024-06-29 00:36:11 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-29 00:36:11 +0800 |
commit | 14417653a44d0ecba127cd12af4b89d38e717750 (patch) | |
tree | bf95796d35d5caa15c893751c8c109ffab6b8302 /pkgs/by-name/hy | |
parent | 0fd7eea2c9b6a490d239419bf2552e857f196a9f (diff) | |
parent | 62b78231cca23b660ca3d4e5758b733c607d09cf (diff) |
Merge pull request #322883 from Bloeckchengrafik/add-hyprnotify
hyprnotify: init at 0.7.0
Diffstat (limited to 'pkgs/by-name/hy')
-rw-r--r-- | pkgs/by-name/hy/hyprnotify/package.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/by-name/hy/hyprnotify/package.nix b/pkgs/by-name/hy/hyprnotify/package.nix new file mode 100644 index 0000000000000..3289d6fd0cacd --- /dev/null +++ b/pkgs/by-name/hy/hyprnotify/package.nix @@ -0,0 +1,34 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, + pkg-config, + alsa-lib +}: + +buildGoModule rec { + pname = "hyprnotify"; + version = "0.7.0"; + + src = fetchFromGitHub { + owner = "codelif"; + repo = "hyprnotify"; + rev = "v${version}"; + hash = "sha256-dL+W+iMwRNw9042bs2XUFPMCCqIvDENXOMzhcLh+RL4="; + }; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ alsa-lib ]; + + vendorHash = "sha256-AZDtaiSNq7em876Q9f+YeDxboqVwA8IE9dDM6zggFXs="; + + meta = { + description = "DBus Implementation of Freedesktop Notification spec for 'hyprctl notify'"; + homepage = "https://github.com/codelif/hyprnotify"; + license = lib.licenses.asl20; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ bloeckchengrafik ]; + mainProgram = "hyprnotify"; + }; +} |