mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
gnomeExtensions.dash-to-dock: Build from source again
The stable version has several usability bugs (e.g. https://github.com/micheleg/dash-to-dock/issues/1629)
but patches do not apply cleanly to the zips from the extension portal.
Let’s switch back to building from source to make it easier to update the extension.
This reverts commit 2bb795bab2
,
adds an update script and updates to latest git revision.
This commit is contained in:
parent
97276fe650
commit
967a4c22db
48
pkgs/desktops/gnome/extensions/dash-to-dock/default.nix
Normal file
48
pkgs/desktops/gnome/extensions/dash-to-dock/default.nix
Normal file
@ -0,0 +1,48 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, glib
|
||||
, gettext
|
||||
, sassc
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-extension-dash-to-dock";
|
||||
version = "71+date=2022-01-24";
|
||||
|
||||
# Temporarily switched to commit hash because stable version is buggy.
|
||||
src = fetchFromGitHub {
|
||||
owner = "micheleg";
|
||||
repo = "dash-to-dock";
|
||||
rev = "53114b4e000482a753e8b42dfa10d6057c08d1c6";
|
||||
sha256 = "Gv78I/dxhc6FpjZWk10uHBfD24tHE4KdkpaAo8UZpwU=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
@ -28,10 +28,6 @@ super: lib.trivial.pipe super [
|
||||
meta.maintainers = with lib.maintainers; [ eperuffo ];
|
||||
}))
|
||||
|
||||
(patchExtension "dash-to-dock@micxgx.gmail.com" (old: {
|
||||
meta.maintainers = with lib.maintainers; [ eperuffo jtojnar rhoriguchi ];
|
||||
}))
|
||||
|
||||
(patchExtension "ddterm@amezin.github.com" (old: {
|
||||
# Requires gjs, zenity & vte via the typelib
|
||||
nativeBuildInputs = [ gobject-introspection wrapGAppsHook ];
|
||||
|
@ -2,6 +2,7 @@
|
||||
{
|
||||
"arcmenu@arcmenu.com" = callPackage ./arcmenu { };
|
||||
"clock-override@gnomeshell.kryogenix.org" = callPackage ./clock-override { };
|
||||
"dash-to-dock@micxgx.gmail.com" = callPackage ./dash-to-dock { };
|
||||
"drop-down-terminal@gs-extensions.zzrough.org" = callPackage ./drop-down-terminal { };
|
||||
"EasyScreenCast@iacopodeenosee.gmail.com" = callPackage ./EasyScreenCast { };
|
||||
"emoji-selector@maestroschan.fr" = callPackage ./emoji-selector { };
|
||||
|
Loading…
Reference in New Issue
Block a user