Add NUT package.
svn path=/nixpkgs/trunk/; revision=27448
This commit is contained in:
parent
3d9e439c1a
commit
9451c1e2ca
|
@ -0,0 +1,30 @@
|
||||||
|
{stdenv, fetchurl, pkgconfig, neon, libusb, hal, openssl, udev}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "nut-2.6.1";
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://www.networkupstools.org/source/2.6/nut-2.6.1.tar.gz;
|
||||||
|
sha256 = "f5c46b856c0cf5b7f0e4b22d82b670af64cc98717a90eaac8723dd402a181c00";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [pkgconfig neon libusb hal openssl udev];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-all"
|
||||||
|
"--without-snmp" # Until we have it ...
|
||||||
|
"--without-powerman" # Until we have it ...
|
||||||
|
"--without-cgi"
|
||||||
|
];
|
||||||
|
|
||||||
|
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 = platforms.linux;
|
||||||
|
maintainers = with stdenv.lib.maintainers [ pierron ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -7901,6 +7901,8 @@ let
|
||||||
inherit docbook5_xsl libxslt docbook5 docbook_xml_dtd_43 w3m;
|
inherit docbook5_xsl libxslt docbook5 docbook_xml_dtd_43 w3m;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nut = callPackage ../applications/misc/nut { };
|
||||||
|
|
||||||
disnix = callPackage ../tools/package-management/disnix { };
|
disnix = callPackage ../tools/package-management/disnix { };
|
||||||
|
|
||||||
disnix_activation_scripts = callPackage ../tools/package-management/disnix/activation-scripts {
|
disnix_activation_scripts = callPackage ../tools/package-management/disnix/activation-scripts {
|
||||||
|
|
Loading…
Reference in New Issue