summary refs log tree commit diff
path: root/pkgs/applications/misc/nut/2.6.3.nix
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2012-03-31 20:01:40 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2012-03-31 20:01:40 +0000
commit5299c1f6fb7cc9fa5e6dad9107ccab1417179731 (patch)
tree52d7d482e7310407aa3f48dfd757ec13a6ce413d /pkgs/applications/misc/nut/2.6.3.nix
parent3f44fb8f2f1ab6bb0571eef0fe16748d951b91f1 (diff)
parentd789eb6a05b5eb2bd3c46798a1e7babfcffe1413 (diff)
svn merge ^/nixpkgs/trunk backups/glib-2.30-take2@33502
- 1 conflict (gnome-doc-utils)
- final merge before --reintegrate

svn path=/nixpkgs/branches/glib-2.30-take2/; revision=33500
Diffstat (limited to 'pkgs/applications/misc/nut/2.6.3.nix')
-rw-r--r--pkgs/applications/misc/nut/2.6.3.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/misc/nut/2.6.3.nix b/pkgs/applications/misc/nut/2.6.3.nix
new file mode 100644
index 0000000000000..471529675dbf6
--- /dev/null
+++ b/pkgs/applications/misc/nut/2.6.3.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchurl, pkgconfig, neon, libusb, openssl, udev, avahi, freeipmi }:
+
+stdenv.mkDerivation {
+  name = "nut-2.6.3";
+  src = fetchurl {
+    url = http://www.networkupstools.org/source/2.6/nut-2.6.3.tar.gz;
+    sha256 = "0fk3bcivv26kw1psxb6sykqp9n5w02j01s1idypzlci0kmr3p49l";
+  };
+
+  buildInputs = [ neon libusb openssl udev avahi freeipmi ];
+  buildNativeInputs = [ pkgconfig ];
+
+  configureFlags = [
+    "--with-all"
+    "--with-ssl"
+    "--without-snmp" # Until we have it ...
+    "--without-powerman" # Until we have it ...
+    "--without-cgi"
+    "--without-hal"
+  ];
+
+  meta = {
+    description = "Network UPS Tools";
+    longDescription = ''
+      Network UPS Tools is a collection of programs which provide a common
+      interface for monitoring and administering UPS, PDU and SCD hardware.
+      It uses a layered approach to connect all of the parts.
+    '';
+    homepage = http://www.networkupstools.org/;
+    platforms = with stdenv.lib.platforms; linux;
+    maintainers = with stdenv.lib.maintainers; [ pierron ];
+    priority = 10;
+  };
+}