mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
24 lines
616 B
Nix
24 lines
616 B
Nix
{ stdenv, lib, fetchurl, gtk2, pkgconfig, lm_sensors }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xsensors-${version}";
|
|
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 ];
|
|
};
|
|
}
|