ac70cd728c
All code that was at xfce4-14 has been moved to xfce/*. Old expressions that aren't rewritten might be abandoned or broken. Additonally I've ported the xfce4-14 thunar expression to support thunarPlugins. We can now support this interface in the Xfce module again, although I'm not sure if we have any plugins packaged that support latest thunar.
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkgconfig, intltool, gtk2, libxfce4ui,
|
|
libxfce4util, xfce4-panel, libnotify, lm_sensors, hddtemp, netcat-gnu
|
|
}:
|
|
|
|
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 = [
|
|
gtk2
|
|
libxfce4ui
|
|
libxfce4util
|
|
xfce4-panel
|
|
libnotify
|
|
lm_sensors
|
|
hddtemp
|
|
netcat-gnu
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
configureFlags = [
|
|
"--with-pathhddtemp=${hddtemp}/bin/hddtemp"
|
|
"--with-pathnetcat=${netcat-gnu}/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 ];
|
|
};
|
|
}
|