depot/third_party/nixpkgs/pkgs/by-name/hy/hyprnotify/package.nix
Default email 98eb3e9ef5 Project import generated by Copybara.
GitOrigin-RevId: 00d80d13810dbfea8ab4ed1009b09100cca86ba8
2024-07-01 15:47:52 +00:00

34 lines
786 B
Nix

{
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";
};
}