about summary refs log tree commit diff
path: root/pkgs/by-name/hy/hyprnotify/package.nix
blob: 3289d6fd0cacd44626a809949ef8040c0eb7bd71 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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";
  };
}