diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-03-29 19:01:42 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-03-29 19:01:42 +0000 |
commit | c6c798df43fd4e8eaf73a0338cf6907360ee915d (patch) | |
tree | db52727229dce74b34be689fb0abb8562c573d2f /pkgs/applications/misc/nut | |
parent | 0ad6c091e7928eead14e16bf76075030aa5745dc (diff) | |
download | nixpkgs-c6c798df43fd4e8eaf73a0338cf6907360ee915d.tar nixpkgs-c6c798df43fd4e8eaf73a0338cf6907360ee915d.tar.gz nixpkgs-c6c798df43fd4e8eaf73a0338cf6907360ee915d.tar.bz2 nixpkgs-c6c798df43fd4e8eaf73a0338cf6907360ee915d.tar.lz nixpkgs-c6c798df43fd4e8eaf73a0338cf6907360ee915d.tar.xz nixpkgs-c6c798df43fd4e8eaf73a0338cf6907360ee915d.tar.zst nixpkgs-c6c798df43fd4e8eaf73a0338cf6907360ee915d.zip |
Add nut-2.6.3 without HAL support
I'm not a nut user, so I didn't touch the default nut expression, and set meta.priority to 10. svn path=/nixpkgs/trunk/; revision=33477
Diffstat (limited to 'pkgs/applications/misc/nut')
-rw-r--r-- | pkgs/applications/misc/nut/2.6.3.nix | 34 |
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 00000000000..7ddb2c547cf --- /dev/null +++ b/pkgs/applications/misc/nut/2.6.3.nix @@ -0,0 +1,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; + }; +} |