c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
47 lines
1 KiB
Nix
47 lines
1 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, glib
|
|
, gettext
|
|
, sassc
|
|
, gitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-shell-extension-dash-to-dock";
|
|
version = "75";
|
|
|
|
# Temporarily switched to commit hash because stable version is buggy.
|
|
src = fetchFromGitHub {
|
|
owner = "micheleg";
|
|
repo = "dash-to-dock";
|
|
rev = "extensions.gnome.org-v${version}";
|
|
sha256 = "sha256-vHXNhJgty7x4Ef6jxUI29KYpadC3jtUqE1Nt1dWYr24=";
|
|
};
|
|
|
|
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 = gitUpdater {
|
|
rev-prefix = "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 ];
|
|
};
|
|
}
|