2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, glib }:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-05-28 09:39:13 +00:00
|
|
|
pname = "gnome-shell-extension-freon";
|
2021-05-29 03:34:57 +00:00
|
|
|
version = "44";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2021-07-14 22:03:04 +00:00
|
|
|
passthru = {
|
|
|
|
extensionUuid = "freon@UshakovVasilii_Github.yahoo.com";
|
|
|
|
extensionPortalSlug = "freon";
|
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "UshakovVasilii";
|
|
|
|
repo = "gnome-shell-extension-freon";
|
|
|
|
rev = "EGO-${version}";
|
2021-05-29 03:34:57 +00:00
|
|
|
sha256 = "sha256-4DYAIC9N5id3vQe0WaOFP+MymsrPK18hbYqO4DjG+2U=";
|
2020-10-16 20:44:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ glib ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
runHook preBuild
|
2021-07-14 22:03:04 +00:00
|
|
|
glib-compile-schemas --strict --targetdir="freon@UshakovVasilii_Github.yahoo.com/schemas" "freon@UshakovVasilii_Github.yahoo.com/schemas"
|
2020-10-16 20:44:37 +00:00
|
|
|
runHook postBuild
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/gnome-shell/extensions
|
2021-07-14 22:03:04 +00:00
|
|
|
cp -r "freon@UshakovVasilii_Github.yahoo.com" $out/share/gnome-shell/extensions
|
2020-10-16 20:44:37 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-10-16 20:44:37 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|