diff options
Diffstat (limited to 'pkgs/by-name/hy/hyprnotify/package.nix')
-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"; + }; +} |