Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 50 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 glib, 6}: 7 8stdenv.mkDerivation { 9 pname = "gnome-shell-extension-impatience"; 10 version = "0.5.2-unstable-2025-02-24"; 11 12 src = fetchFromGitHub { 13 owner = "timbertson"; 14 repo = "gnome-shell-impatience"; 15 rev = "527295a35b352596fed1fc07799f1e0792a77040"; # shows gnome 48 support 16 hash = "sha256-9xfZcKJpBttSP2IbGtjo4UxFEnADgQjyV3vx0jSg8nI="; 17 }; 18 19 buildInputs = [ 20 glib 21 ]; 22 23 buildPhase = '' 24 runHook preBuild 25 make schemas 26 runHook postBuild 27 ''; 28 29 installPhase = '' 30 runHook preInstall 31 mkdir -p $out/share/gnome-shell/extensions 32 cp -r impatience "$out/share/gnome-shell/extensions/impatience@gfxmonk.net" 33 runHook postInstall 34 ''; 35 36 passthru = { 37 extensionUuid = "impatience@gfxmonk.net"; 38 extensionPortalSlug = "impatience"; 39 }; 40 41 meta = with lib; { 42 description = "Speed up builtin gnome-shell animations"; 43 license = licenses.gpl3Plus; 44 maintainers = with maintainers; [ 45 timbertson 46 tiramiseb 47 ]; 48 homepage = "http://gfxmonk.net/dist/0install/gnome-shell-impatience.xml"; 49 }; 50}