2022-02-20 05:27:41 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, glib
|
|
|
|
, gettext
|
|
|
|
, sassc
|
2022-05-18 14:49:53 +00:00
|
|
|
, gitUpdater
|
2022-02-20 05:27:41 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-dash-to-dock";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "72";
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
# Temporarily switched to commit hash because stable version is buggy.
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "micheleg";
|
|
|
|
repo = "dash-to-dock";
|
2022-05-18 14:49:53 +00:00
|
|
|
rev = "extensions.gnome.org-v${version}";
|
|
|
|
sha256 = "Cds5Fc+rnvoy01GTZBS7qPh8UC9ekrNBOs+IEkDNkJw=";
|
2022-02-20 05:27:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
glib
|
|
|
|
gettext
|
|
|
|
sassc
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions"
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
extensionUuid = "dash-to-dock@micxgx.gmail.com";
|
|
|
|
extensionPortalSlug = "dash-to-dock";
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
updateScript = gitUpdater {
|
|
|
|
pname = "gnomeExtensions.dash-to-dock";
|
|
|
|
inherit version;
|
|
|
|
rev-prefix = "extensions.gnome.org-v";
|
2022-02-20 05:27:41 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A dock for the Gnome Shell";
|
|
|
|
homepage = "https://micheleg.github.io/dash-to-dock/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ eperuffo jtojnar rhoriguchi ];
|
|
|
|
};
|
|
|
|
}
|