nixpkgs/pkgs/desktops/gnome/extensions/impatience/default.nix

43 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, glib }:
2016-04-14 03:09:15 +00:00
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-impatience";
version = "unstable-2019-09-23";
2016-04-14 03:09:15 +00:00
src = fetchFromGitHub {
owner = "timbertson";
repo = "gnome-shell-impatience";
rev = "43e4e0a1e0eeb334a2da5224ce3ab4fdddf4f1b2";
sha256 = "0kvdhlz41fjyqdgcfw6mrr9nali6wg2qwji3dvykzfi0aypljzpx";
2016-04-14 03:09:15 +00:00
};
buildInputs = [
glib
];
buildPhase = ''
runHook preBuild
2016-04-14 03:09:15 +00:00
make schemas
runHook postBuild
2016-04-14 03:09:15 +00:00
'';
installPhase = ''
runHook preInstall
mkdir -p $out/share/gnome-shell/extensions
cp -r impatience "$out/share/gnome-shell/extensions/impatience@gfxmonk.net"
runHook postInstall
2016-04-14 03:09:15 +00:00
'';
passthru = {
extensionUuid = "impatience@gfxmonk.net";
extensionPortalSlug = "impatience";
};
2016-04-14 03:09:15 +00:00
meta = with lib; {
2016-04-14 03:09:15 +00:00
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";
2016-04-14 03:09:15 +00:00
};
}