2022-02-20 05:27:41 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, glib
|
|
|
|
, gettext
|
|
|
|
, sassc
|
|
|
|
, unstableGitUpdater
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnome-shell-extension-dash-to-dock";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "71+date=2022-02-23";
|
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-03-05 16:20:37 +00:00
|
|
|
rev = "6f717302747931de6bf35bc9839fb3bd946e2c2f";
|
|
|
|
sha256 = "1J8t0R43jBbqpXyH2uVyEK+OvhrCw18WWheflqwe100=";
|
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";
|
|
|
|
|
|
|
|
updateScript = unstableGitUpdater {
|
|
|
|
stableVersion = true;
|
|
|
|
tagPrefix = "extensions.gnome.org-v";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|