mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
2e4ba3d1c0
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.
58 lines
1.1 KiB
Nix
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;
|
|
};
|
|
}
|