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
|
|
|
|
, gettext
|
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
|
|
|
|
, wrapGAppsHook
|
|
|
|
, 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";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "unstable-2021-11-08";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
repoName = "dock";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = repoName;
|
2021-12-06 16:07:01 +00:00
|
|
|
rev = "51e8d3ddfbed0dfce3158d80f997ab183e92567b";
|
|
|
|
sha256 = "sha256-w6HGxEAXNod/uMEEfSz9nRNTRrCbcEqJCP9EFkVbX1U=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gettext
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
libxml2 # xmllint
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
vala
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
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
|
|
|
|
];
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|