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

36 lines
841 B
Nix
Raw Normal View History

2016-04-14 05:09:15 +02:00
{ stdenv, fetchFromGitHub, glib }:
stdenv.mkDerivation rec {
pname = "gnome-shell-impatience";
version = "0.4.5";
2016-04-14 05:09:15 +02:00
src = fetchFromGitHub {
owner = "timbertson";
repo = "gnome-shell-impatience";
rev = "version-${version}";
sha256 = "0kvdhlz41fjyqdgcfw6mrr9nali6wg2qwji3dvykzfi0aypljzpx";
2016-04-14 05:09:15 +02: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 05:09:15 +02: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 05:09:15 +02:00
homepage = http://gfxmonk.net/dist/0install/gnome-shell-impatience.xml;
};
}