forked from mirrors/nixpkgs
5ba789eeca
They should have gnome-shell-extension prefix like most other extension packages. This is what other distros listed on Repology use so Repology will be able to unify them. Exception is chrome-gnome-shell, which is estabilished under that name.
40 lines
967 B
Nix
40 lines
967 B
Nix
{ lib, stdenv, fetchFromGitHub, glib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-shell-extension-impatience";
|
|
version = "unstable-2019-09-23";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "timbertson";
|
|
repo = "gnome-shell-impatience";
|
|
rev = "43e4e0a1e0eeb334a2da5224ce3ab4fdddf4f1b2";
|
|
sha256 = "0kvdhlz41fjyqdgcfw6mrr9nali6wg2qwji3dvykzfi0aypljzpx";
|
|
};
|
|
|
|
buildInputs = [
|
|
glib
|
|
];
|
|
|
|
buildPhase = ''
|
|
runHook preBuild
|
|
make schemas
|
|
runHook postBuild
|
|
'';
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/share/gnome-shell/extensions
|
|
cp -r impatience $out/share/gnome-shell/extensions/${uuid}
|
|
runHook postInstall
|
|
'';
|
|
|
|
uuid = "impatience@gfxmonk.net";
|
|
|
|
meta = with lib; {
|
|
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";
|
|
};
|
|
}
|