2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
2020-09-25 04:45:31 +00:00
|
|
|
, fetchpatch
|
2020-04-24 23:36:52 +00:00
|
|
|
, 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
|
|
|
|
, pantheon
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "elementary-dock";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "unstable-2020-06-11";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
repoName = "dock";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "elementary";
|
|
|
|
repo = repoName;
|
2020-07-18 16:06:22 +00:00
|
|
|
rev = "0a389ee58939d8c91c340df4e5340fc4b23d0b80";
|
|
|
|
sha256 = "01vinik73s0vmk56samgf49zr2bl4wjv44x15sz2cmh744llckja";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
patches = [
|
|
|
|
# Fix double includedir path in plank.pc
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/elementary/dock/commit/3bc368e2c4fafcd5b8baca2711c773b0e2441c7c.patch";
|
|
|
|
sha256 = "0gg35phi1cg7ixljc388i0h70w323r1gqzjhanccnsbjpqsgvs3k";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
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
|
|
|
|
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;
|
|
|
|
maintainers = with maintainers; [ davidak ] ++ pantheon.maintainers;
|
|
|
|
};
|
|
|
|
}
|