2021-01-19 06:50:56 +00:00
|
|
|
{ stdenv, lib, fetchurl, gtk2, pkg-config, lm_sensors }:
|
2015-07-04 03:54:03 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "xsensors";
|
2015-07-04 03:54:03 +01:00
|
|
|
version = "0.70";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.linuxhardware.org/xsensors/xsensors-${version}.tar.gz";
|
|
|
|
sha256 = "1siplsfgvcxamyqf44h71jx6jdfmvhfm7mh0y1q8ps4zs6pj2zwh";
|
|
|
|
};
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-07-04 03:54:03 +01:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
gtk2 lm_sensors
|
2015-07-04 03:54:03 +01:00
|
|
|
];
|
|
|
|
patches = [
|
|
|
|
./remove-unused-variables.patch
|
|
|
|
./replace-deprecated-gtk.patch
|
|
|
|
];
|
|
|
|
meta = with lib; {
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
|
|
};
|
|
|
|
}
|