nixpkgs/pkgs/desktops/mate/mate-sensors-applet/default.nix
Bobby Rong 2e4ba3d1c0
mate.mate-sensors-applet: 1.26.0 -> 1.28.0
https://github.com/mate-desktop/mate-sensors-applet/compare/v1.26.0...v1.28.0

Note that this no longer provides any executable after we enable in-process.
2024-03-14 23:34:08 +08:00

58 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchurl
, pkg-config
, gettext
, itstool
, gtk3
, libxml2
, libxslt
, libatasmart
, libnotify
, lm_sensors
, mate-panel
, hicolor-icon-theme
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-sensors-applet";
version = "1.28.0";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1GU2ZoKvj+uGGCg8l4notw22/RfKj6lQrG9xAQIxWoE=";
};
nativeBuildInputs = [
pkg-config
gettext
itstool
];
buildInputs = [
gtk3
libxml2
libxslt
libatasmart
libnotify
lm_sensors
mate-panel
hicolor-icon-theme
];
configureFlags = [ "--enable-in-process" ];
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript { inherit pname; };
meta = with lib; {
homepage = "https://github.com/mate-desktop/mate-sensors-applet";
description = "MATE panel applet for hardware sensors";
license = with licenses; [ gpl2Plus ];
platforms = platforms.linux;
maintainers = teams.mate.members;
};
}