summary refs log tree commit diff
path: root/pkgs/applications/misc/nut/2.6.3.nix
blob: 7ddb2c547cf4d9af6d07600117c6cd36932f5b12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{stdenv, fetchurl, pkgconfig, neon, libusb, openssl, udev, avahi}:

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 = [pkgconfig neon libusb openssl udev avahi];

  configureFlags = [
    "--with-all"
    "--without-snmp" # Until we have it ...
    "--without-powerman" # Until we have it ...
    "--without-cgi"
    "--without-freeipmi"
    "--without-ipmi"
    "--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;
  };
}