mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 22:30:23 +00:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
67 lines
1.1 KiB
Nix
67 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
vala,
|
|
gtk4,
|
|
glib,
|
|
granite7,
|
|
libadwaita,
|
|
libcanberra,
|
|
wayland-scanner,
|
|
wrapGAppsHook4,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "elementary-notifications";
|
|
version = "8.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = "notifications";
|
|
tag = version;
|
|
hash = "sha256-qod76RSsCO9NvjnYTLRW6P1UyR1K6Uu9fEjU2WgHUWk=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
depsBuildBuild = [
|
|
pkg-config
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
glib # for glib-compile-schemas
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wayland-scanner
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
granite7
|
|
gtk4
|
|
libadwaita
|
|
libcanberra
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "GTK notification server for Pantheon";
|
|
homepage = "https://github.com/elementary/notifications";
|
|
license = lib.licenses.gpl3Plus;
|
|
teams = [ lib.teams.pantheon ];
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "io.elementary.notifications";
|
|
};
|
|
}
|