Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
71 lines
1.2 KiB
Nix
71 lines
1.2 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
vala,
|
|
wayland-scanner,
|
|
wrapGAppsHook4,
|
|
glib,
|
|
granite7,
|
|
gtk4,
|
|
libadwaita,
|
|
wayland,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "elementary-dock";
|
|
version = "8.2.0";
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "elementary";
|
|
repo = "dock";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-aKRWb/xtusb9Q2xq6GdM7WzNSweBqWbYUejQq4Or86s=";
|
|
};
|
|
|
|
depsBuildBuild = [ pkg-config ];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
vala
|
|
wayland-scanner
|
|
wrapGAppsHook4
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
granite7
|
|
gtk4
|
|
libadwaita
|
|
wayland
|
|
];
|
|
|
|
# Fix building with GCC 14
|
|
# https://github.com/elementary/dock/issues/418
|
|
env.NIX_CFLAGS_COMPILE = "-Wno-error=int-conversion";
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "Elegant, simple, clean dock";
|
|
homepage = "https://github.com/elementary/dock";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.linux;
|
|
teams = [ lib.teams.pantheon ];
|
|
mainProgram = "io.elementary.dock";
|
|
};
|
|
})
|