nixpkgs/pkgs/os-specific/linux/xsensors/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
608 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, gtk2, pkg-config, lm_sensors }:
2015-07-04 04:54:03 +02:00
stdenv.mkDerivation rec {
pname = "xsensors";
2015-07-04 04:54:03 +02:00
version = "0.70";
src = fetchurl {
url = "http://www.linuxhardware.org/xsensors/xsensors-${version}.tar.gz";
sha256 = "1siplsfgvcxamyqf44h71jx6jdfmvhfm7mh0y1q8ps4zs6pj2zwh";
};
nativeBuildInputs = [ pkg-config ];
2015-07-04 04:54:03 +02:00
buildInputs = [
gtk2 lm_sensors
2015-07-04 04:54:03 +02:00
];
patches = [
./remove-unused-variables.patch
./replace-deprecated-gtk.patch
];
meta = with lib; {
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan ];
};
}