Merge pull request #18699 from romildo/new.xfce4-sensors-plugin
xfce4-sensors-plugin: init at 1.2.6
This commit is contained in:
commit
445e50af63
|
@ -88,6 +88,7 @@ xfce_self = rec { # the lines are very long but it seems better than the even-od
|
||||||
xfce4-hardware-monitor-plugin = callPackage ./panel-plugins/xfce4-hardware-monitor-plugin.nix { };
|
xfce4-hardware-monitor-plugin = callPackage ./panel-plugins/xfce4-hardware-monitor-plugin.nix { };
|
||||||
xfce4_netload_plugin = callPackage ./panel-plugins/xfce4-netload-plugin.nix { };
|
xfce4_netload_plugin = callPackage ./panel-plugins/xfce4-netload-plugin.nix { };
|
||||||
xfce4_notes_plugin = callPackage ./panel-plugins/xfce4-notes-plugin.nix { };
|
xfce4_notes_plugin = callPackage ./panel-plugins/xfce4-notes-plugin.nix { };
|
||||||
|
xfce4-sensors-plugin = callPackage ./panel-plugins/xfce4-sensors-plugin.nix { };
|
||||||
xfce4_systemload_plugin = callPackage ./panel-plugins/xfce4-systemload-plugin.nix { };
|
xfce4_systemload_plugin = callPackage ./panel-plugins/xfce4-systemload-plugin.nix { };
|
||||||
xfce4_verve_plugin = callPackage ./panel-plugins/xfce4-verve-plugin.nix { };
|
xfce4_verve_plugin = callPackage ./panel-plugins/xfce4-verve-plugin.nix { };
|
||||||
xfce4_xkb_plugin = callPackage ./panel-plugins/xfce4-xkb-plugin.nix { };
|
xfce4_xkb_plugin = callPackage ./panel-plugins/xfce4-xkb-plugin.nix { };
|
||||||
|
|
|
@ -0,0 +1,46 @@
|
||||||
|
{ stdenv, fetchurl, pkgconfig, intltool, gnome2, libxfce4ui,
|
||||||
|
libxfce4util, xfce4panel, libnotify, lm_sensors, hddtemp, netcat
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${ver_maj}.${ver_min}";
|
||||||
|
pname = "xfce4-sensors-plugin";
|
||||||
|
ver_maj = "1.2";
|
||||||
|
ver_min = "6";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://xfce/src/panel-plugins/${pname}/${ver_maj}/${name}.tar.bz2";
|
||||||
|
sha256 = "1h0vpqxcziml3gwrbvd8xvy1mwh9mf2a68dvxsy03rs5pm1ghpi3";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkgconfig
|
||||||
|
intltool
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gnome2.gtk
|
||||||
|
libxfce4ui
|
||||||
|
libxfce4util
|
||||||
|
xfce4panel
|
||||||
|
libnotify
|
||||||
|
lm_sensors
|
||||||
|
hddtemp
|
||||||
|
netcat
|
||||||
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-pathhddtemp=${hddtemp}/bin/hddtemp"
|
||||||
|
"--with-pathnetcat=${netcat}/bin/netcat"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "http://goodies.xfce.org/projects/panel-plugins/${pname}";
|
||||||
|
description = "A panel plug-in for different sensors using acpi, lm_sensors and hddtemp";
|
||||||
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue