depot/third_party/nixpkgs/pkgs/desktops/gnome/extensions/impatience/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

42 lines
1 KiB
Nix

{ lib, stdenv, fetchFromGitHub, glib }:
stdenv.mkDerivation {
pname = "gnome-shell-extension-impatience";
version = "unstable-2023-04-04";
src = fetchFromGitHub {
owner = "timbertson";
repo = "gnome-shell-impatience";
rev = "0f961b860040ba0f7bbb51ebbaece7db29787313";
hash = "sha256-c15zZC9xc0nq8NdnP0gjayMmnD8GyHFV8oZaD4LyR7w=";
};
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";
};
}