2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, glib }:
|
2016-04-14 03:09:15 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-24 20:01:59 +00:00
|
|
|
pname = "gnome-shell-extension-impatience";
|
2020-03-22 03:40:13 +00:00
|
|
|
version = "unstable-2019-09-23";
|
2016-04-14 03:09:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "timbertson";
|
|
|
|
repo = "gnome-shell-impatience";
|
2020-03-22 03:40:13 +00:00
|
|
|
rev = "43e4e0a1e0eeb334a2da5224ce3ab4fdddf4f1b2";
|
2018-03-07 09:19:31 +00:00
|
|
|
sha256 = "0kvdhlz41fjyqdgcfw6mrr9nali6wg2qwji3dvykzfi0aypljzpx";
|
2016-04-14 03:09:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
2020-07-18 11:06:33 +00:00
|
|
|
runHook preBuild
|
2016-04-14 03:09:15 +00:00
|
|
|
make schemas
|
2020-07-18 11:06:33 +00:00
|
|
|
runHook postBuild
|
2016-04-14 03:09:15 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
2020-07-18 11:06:33 +00:00
|
|
|
runHook preInstall
|
2018-03-07 09:19:31 +00:00
|
|
|
mkdir -p $out/share/gnome-shell/extensions
|
2021-05-29 19:55:35 +00:00
|
|
|
cp -r impatience "$out/share/gnome-shell/extensions/impatience@gfxmonk.net"
|
2020-07-18 11:06:33 +00:00
|
|
|
runHook postInstall
|
2016-04-14 03:09:15 +00:00
|
|
|
'';
|
|
|
|
|
2021-05-29 15:34:26 +00:00
|
|
|
passthru = {
|
|
|
|
extensionUuid = "impatience@gfxmonk.net";
|
|
|
|
extensionPortalSlug = "impatience";
|
|
|
|
};
|
2016-04-14 03:09:15 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-04-14 03:09:15 +00:00
|
|
|
description = "Speed up builtin gnome-shell animations";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-03-24 05:20:53 +00:00
|
|
|
maintainers = with maintainers; [ timbertson tiramiseb ];
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://gfxmonk.net/dist/0install/gnome-shell-impatience.xml";
|
2016-04-14 03:09:15 +00:00
|
|
|
};
|
|
|
|
}
|