2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, glib
|
|
|
|
, gettext
|
2021-08-25 08:27:29 +00:00
|
|
|
, sassc
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-28 09:39:13 +00:00
|
|
|
pname = "gnome-shell-extension-dash-to-dock";
|
2021-10-17 02:12:59 +00:00
|
|
|
version = "unstable-2021-10-03";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-10-17 02:12:59 +00:00
|
|
|
# temporarily switched to commit hash because GNOME 40 version is not released yet.
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
2021-10-17 02:12:59 +00:00
|
|
|
owner = "micheleg";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "dash-to-dock";
|
2021-10-17 02:12:59 +00:00
|
|
|
rev = "9605dd69fe86d4f92416299c3f62605e75827dd3";
|
|
|
|
sha256 = "0vrkiq5z2f11gqlfyis2rsnp6j25hwsp24s21vr55qkzkfszsigg";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
glib
|
|
|
|
gettext
|
2021-08-25 08:27:29 +00:00
|
|
|
sassc
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions"
|
|
|
|
];
|
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
passthru = {
|
|
|
|
extensionUuid = "dash-to-dock@micxgx.gmail.com";
|
|
|
|
extensionPortalSlug = "dash-to-dock";
|
|
|
|
};
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A dock for the Gnome Shell";
|
|
|
|
homepage = "https://micheleg.github.io/dash-to-dock/";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ eperuffo jtojnar ];
|
|
|
|
};
|
|
|
|
}
|