mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
277f39afc9
Supports GNOME 42. https://github.com/micheleg/dash-to-dock/compare/extensions.gnome.org-v71...extensions.gnome.org-v72
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, glib
|
|
, gettext
|
|
, sassc
|
|
, gitUpdater
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-shell-extension-dash-to-dock";
|
|
version = "72";
|
|
|
|
# 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 = "Cds5Fc+rnvoy01GTZBS7qPh8UC9ekrNBOs+IEkDNkJw=";
|
|
};
|
|
|
|
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 {
|
|
pname = "gnomeExtensions.dash-to-dock";
|
|
inherit version;
|
|
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 ];
|
|
};
|
|
}
|