2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, vala
|
|
|
|
, atk
|
|
|
|
, cairo
|
|
|
|
, dconf
|
|
|
|
, glib
|
|
|
|
, gtk3
|
2021-06-28 23:13:55 +00:00
|
|
|
, libwnck
|
2020-04-24 23:36:52 +00:00
|
|
|
, libX11
|
|
|
|
, libXfixes
|
|
|
|
, libXi
|
|
|
|
, pango
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, libxml2
|
|
|
|
, bamf
|
|
|
|
, gdk-pixbuf
|
|
|
|
, libdbusmenu-gtk3
|
|
|
|
, gnome-menus
|
|
|
|
, libgee
|
2024-05-15 15:35:15 +00:00
|
|
|
, wrapGAppsHook3
|
2020-04-24 23:36:52 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-09-22 15:38:15 +00:00
|
|
|
, granite
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "elementary-dock";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "unstable-2021-05-07";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
2021-12-19 01:06:50 +00:00
|
|
|
repo = "dock";
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "113c3b0bc7744501d2101dd7afc1ef21ba66b326";
|
|
|
|
sha256 = "sha256-YlvdB02/hUGaDyHIHy21bgloHyVy3vHcanyNKnp3YbM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
libxml2 # xmllint
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
vala
|
2024-05-15 15:35:15 +00:00
|
|
|
wrapGAppsHook3
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
atk
|
|
|
|
bamf
|
|
|
|
cairo
|
|
|
|
gdk-pixbuf
|
|
|
|
glib
|
|
|
|
gnome-menus
|
|
|
|
dconf
|
2021-09-22 15:38:15 +00:00
|
|
|
granite
|
2020-04-24 23:36:52 +00:00
|
|
|
gtk3
|
|
|
|
libX11
|
|
|
|
libXfixes
|
|
|
|
libXi
|
|
|
|
libdbusmenu-gtk3
|
|
|
|
libgee
|
2021-06-28 23:13:55 +00:00
|
|
|
libwnck
|
2020-04-24 23:36:52 +00:00
|
|
|
pango
|
|
|
|
];
|
|
|
|
|
2022-04-03 18:54:34 +00:00
|
|
|
postInstall = ''
|
|
|
|
# elementary/dock/master is missing a Meson post
|
|
|
|
# install script that does this. This has been
|
|
|
|
# resolved after the dock rewrite (the `main` branch).
|
|
|
|
# https://github.com/elementary/default-settings/issues/267
|
|
|
|
glib-compile-schemas $out/share/glib-2.0/schemas
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Elegant, simple, clean dock";
|
|
|
|
homepage = "https://github.com/elementary/dock";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
2021-09-22 15:38:15 +00:00
|
|
|
maintainers = with maintainers; [ davidak ] ++ teams.pantheon.members;
|
2021-12-06 16:07:01 +00:00
|
|
|
mainProgram = "plank";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|