mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
36 lines
841 B
Nix
36 lines
841 B
Nix
{ stdenv, fetchFromGitHub, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-shell-impatience";
|
|
version = "0.4.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timbertson";
|
|
repo = "gnome-shell-impatience";
|
|
rev = "version-${version}";
|
|
sha256 = "0kvdhlz41fjyqdgcfw6mrr9nali6wg2qwji3dvykzfi0aypljzpx";
|
|
};
|
|
|
|
buildInputs = [
|
|
glib
|
|
];
|
|
|
|
buildPhase = ''
|
|
make schemas
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/share/gnome-shell/extensions
|
|
cp -r impatience $out/share/gnome-shell/extensions/${uuid}
|
|
'';
|
|
|
|
uuid = "impatience@gfxmonk.net";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Speed up builtin gnome-shell animations";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ aneeshusa timbertson tiramiseb ];
|
|
homepage = http://gfxmonk.net/dist/0install/gnome-shell-impatience.xml;
|
|
};
|
|
}
|