42 lines
1 KiB
Nix
42 lines
1 KiB
Nix
{ lib, stdenv, fetchFromGitHub, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-shell-extension-impatience";
|
|
version = "unstable-2022-03-26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timbertson";
|
|
repo = "gnome-shell-impatience";
|
|
rev = "cf7c0bb8776af9a16e4ae114df0cc65869fb669d";
|
|
sha256 = "sha256-z/pZxSEFELtg7kueS2i6gN1+VbN0m4mxc34pOCMak5g=";
|
|
};
|
|
|
|
buildInputs = [
|
|
glib
|
|
];
|
|
|
|
buildPhase = ''
|
|
runHook preBuild
|
|
make schemas
|
|
runHook postBuild
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/share/gnome-shell/extensions
|
|
cp -r impatience "$out/share/gnome-shell/extensions/impatience@gfxmonk.net"
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru = {
|
|
extensionUuid = "impatience@gfxmonk.net";
|
|
extensionPortalSlug = "impatience";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Speed up builtin gnome-shell animations";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ timbertson tiramiseb ];
|
|
homepage = "http://gfxmonk.net/dist/0install/gnome-shell-impatience.xml";
|
|
};
|
|
}
|