mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
system-monitor gnome-shell extension: init
This commit is contained in:
parent
54d2aaca6d
commit
0e5122637b
34
pkgs/desktops/gnome-3/extensions/system-monitor.nix
Normal file
34
pkgs/desktops/gnome-3/extensions/system-monitor.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv, fetchFromGitHub, glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gnome-shell-system-monitor-${version}";
|
||||
version = "8b31f070e9e59109d729661ced313d6a63e31787";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "paradoxxxzero";
|
||||
repo = "gnome-shell-system-monitor-applet";
|
||||
rev = version;
|
||||
sha256 = "0fm5zb6qp53jjy2mnkb8ybxygzjwpb314giiq0ywq87hhrpch8m3";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
${glib}/bin/glib-compile-schemas --targetdir=${uuid}/schemas ${uuid}/schemas
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
cp -r ${uuid} $out
|
||||
'';
|
||||
|
||||
uuid = "system-monitor@paradoxxx.zero.gmail.com";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Display system informations in gnome shell status bar";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ aneeshusa ];
|
||||
homepage = https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet;
|
||||
};
|
||||
}
|
@ -15175,6 +15175,7 @@ in
|
||||
gnome3 = self.gnome3_18 // {
|
||||
shellExtensions = {
|
||||
impatience = callPackage ../desktops/gnome-3/extensions/impatience.nix {};
|
||||
system-monitor = callPackage ../desktops/gnome-3/extensions/system-monitor.nix {};
|
||||
volume-mixer = callPackage ../desktops/gnome-3/extensions/volume-mixer.nix {};
|
||||
workspace-grid = callPackage ../desktops/gnome-3/extensions/workspace-grid.nix {};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user