8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
23 lines
606 B
Nix
23 lines
606 B
Nix
{ stdenv, lib, fetchurl, gtk2, pkgconfig, lm_sensors }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xsensors";
|
|
version = "0.70";
|
|
src = fetchurl {
|
|
url = "http://www.linuxhardware.org/xsensors/xsensors-${version}.tar.gz";
|
|
sha256 = "1siplsfgvcxamyqf44h71jx6jdfmvhfm7mh0y1q8ps4zs6pj2zwh";
|
|
};
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [
|
|
gtk2 lm_sensors
|
|
];
|
|
patches = [
|
|
./remove-unused-variables.patch
|
|
./replace-deprecated-gtk.patch
|
|
];
|
|
meta = with lib; {
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ cstrahan ];
|
|
};
|
|
}
|