2021-02-05 17:12:51 +00:00
|
|
|
{ stdenv, lib, fetchurl, gtk2, pkg-config, lm_sensors }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xsensors";
|
|
|
|
version = "0.70";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.linuxhardware.org/xsensors/xsensors-${version}.tar.gz";
|
|
|
|
sha256 = "1siplsfgvcxamyqf44h71jx6jdfmvhfm7mh0y1q8ps4zs6pj2zwh";
|
|
|
|
};
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk2 lm_sensors
|
|
|
|
];
|
|
|
|
patches = [
|
|
|
|
./remove-unused-variables.patch
|
|
|
|
./replace-deprecated-gtk.patch
|
|
|
|
];
|
|
|
|
meta = with lib; {
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2023-10-09 19:29:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|