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-08-25 08:27:29 +00:00
|
|
|
version = "unstable-2021-07-07";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-08-25 08:27:29 +00:00
|
|
|
# temporarily switched to https://github.com/micheleg/dash-to-dock/pull/1402 because upstream doesn't work with GNOME 40 yet.
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
2021-08-25 08:27:29 +00:00
|
|
|
owner = "ewlsh";
|
2020-04-24 23:36:52 +00:00
|
|
|
repo = "dash-to-dock";
|
2021-08-25 08:27:29 +00:00
|
|
|
rev = "e4beec847181e4163b0a99ceaef4c4582cc8ae4c";
|
|
|
|
hash = "sha256-7UVnLXH7COnIbqxbt3CCscuu1YyPH6ax5DlKdaHCT/0=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|