diff --git a/pkgs/desktops/gnome-3/extensions/freon/default.nix b/pkgs/desktops/gnome-3/extensions/freon/default.nix new file mode 100644 index 000000000000..5224e4863ae2 --- /dev/null +++ b/pkgs/desktops/gnome-3/extensions/freon/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchFromGitHub, glib }: + +stdenv.mkDerivation rec { + pname = "gnome-shell-freon"; + version = "40"; + + uuid = "freon@UshakovVasilii_Github.yahoo.com"; + + src = fetchFromGitHub { + owner = "UshakovVasilii"; + repo = "gnome-shell-extension-freon"; + rev = "EGO-${version}"; + sha256 = "0ak6f5dds9kk3kqww681gs3l1mj3vf22icrvb5m257s299rq8yzl"; + }; + + nativeBuildInputs = [ glib ]; + + buildPhase = '' + runHook preBuild + glib-compile-schemas --strict --targetdir=${uuid}/schemas ${uuid}/schemas + runHook postBuild + ''; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/gnome-shell/extensions + cp -r ${uuid} $out/share/gnome-shell/extensions + runHook postInstall + ''; + + meta = with stdenv.lib; { + description = "GNOME Shell extension for displaying CPU, GPU, disk temperatures, voltage and fan RPM in the top panel"; + license = licenses.gpl2; + maintainers = with maintainers; [ justinas ]; + homepage = "https://github.com/UshakovVasilii/gnome-shell-extension-freon"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f25888c3a60d..fe46c8bf63ac 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25794,6 +25794,7 @@ in draw-on-your-screen = callPackage ../desktops/gnome-3/extensions/draw-on-your-screen { }; drop-down-terminal = callPackage ../desktops/gnome-3/extensions/drop-down-terminal { }; emoji-selector = callPackage ../desktops/gnome-3/extensions/emoji-selector { }; + freon = callPackage ../desktops/gnome-3/extensions/freon { }; gsconnect = callPackage ../desktops/gnome-3/extensions/gsconnect { }; icon-hider = callPackage ../desktops/gnome-3/extensions/icon-hider { }; impatience = callPackage ../desktops/gnome-3/extensions/impatience { };