summary refs log tree commit diff
path: root/pkgs/os-specific/linux/xsensors/default.nix
diff options
context:
space:
mode:
authorCharles Strahan <charles.c.strahan@gmail.com>2015-07-03 22:54:03 -0400
committerCharles Strahan <charles.c.strahan@gmail.com>2015-07-03 22:55:10 -0400
commit44594e851cc64e0e85c7d1d04042c00ba583d342 (patch)
tree22ad2c3e2808015753b9cba7f2f132b1eaef2af7 /pkgs/os-specific/linux/xsensors/default.nix
parent4726690a7454de8cc956df0cfef3b779ede5bdb9 (diff)
downloadnixpkgs-44594e851cc64e0e85c7d1d04042c00ba583d342.tar
nixpkgs-44594e851cc64e0e85c7d1d04042c00ba583d342.tar.gz
nixpkgs-44594e851cc64e0e85c7d1d04042c00ba583d342.tar.bz2
nixpkgs-44594e851cc64e0e85c7d1d04042c00ba583d342.tar.lz
nixpkgs-44594e851cc64e0e85c7d1d04042c00ba583d342.tar.xz
nixpkgs-44594e851cc64e0e85c7d1d04042c00ba583d342.tar.zst
nixpkgs-44594e851cc64e0e85c7d1d04042c00ba583d342.zip
xsensors: init at 0.70
Diffstat (limited to 'pkgs/os-specific/linux/xsensors/default.nix')
-rw-r--r--pkgs/os-specific/linux/xsensors/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/xsensors/default.nix b/pkgs/os-specific/linux/xsensors/default.nix
new file mode 100644
index 00000000000..a392d065e41
--- /dev/null
+++ b/pkgs/os-specific/linux/xsensors/default.nix
@@ -0,0 +1,22 @@
+{ 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";
+  };
+  buildInputs = [
+    gtk2 pkgconfig lm_sensors
+  ];
+  patches = [
+    ./remove-unused-variables.patch
+    ./replace-deprecated-gtk.patch
+  ];
+  meta = with lib; {
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ cstrahan ];
+  };
+}