nixpkgs/pkgs/desktops/gnome-3/extensions/impatience.nix

36 lines
851 B
Nix
Raw Normal View History

2016-04-14 03:09:15 +00:00
{ stdenv, fetchFromGitHub, glib }:
stdenv.mkDerivation rec {
name = "gnome-shell-impatience-${version}";
version = "0.4.5";
2016-04-14 03:09:15 +00:00
src = fetchFromGitHub {
owner = "timbertson";
repo = "gnome-shell-impatience";
rev = "version-${version}";
sha256 = "0kvdhlz41fjyqdgcfw6mrr9nali6wg2qwji3dvykzfi0aypljzpx";
2016-04-14 03:09:15 +00:00
};
buildInputs = [
glib
];
buildPhase = ''
make schemas
'';
installPhase = ''
mkdir -p $out/share/gnome-shell/extensions
cp -r impatience $out/share/gnome-shell/extensions/${uuid}
2016-04-14 03:09:15 +00:00
'';
uuid = "impatience@gfxmonk.net";
meta = with stdenv.lib; {
description = "Speed up builtin gnome-shell animations";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ aneeshusa timbertson tiramiseb ];
2016-04-14 03:09:15 +00:00
homepage = http://gfxmonk.net/dist/0install/gnome-shell-impatience.xml;
};
}