Adding FreeIPMI

svn path=/nixpkgs/trunk/; revision=25679
This commit is contained in:
Michael Raskin 2011-01-24 07:06:17 +00:00
parent 5c876d63b5
commit f863b73829
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,48 @@
x@{builderDefsPackage
, libgcrypt, readline
, ...}:
builderDefsPackage
(a :
let
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
[];
buildInputs = map (n: builtins.getAttr n x)
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
sourceInfo = rec {
baseName="freeipmi";
version="1.0.1";
name="${baseName}-${version}";
url="http://download.gluster.com/pub/${baseName}/${version}/${name}.tar.gz";
hash="11j0jvarxvzj89c2fg49ghz75gljdkacid6631q313kc1bd2l0ms";
};
in
rec {
src = a.fetchurl {
url = sourceInfo.url;
sha256 = sourceInfo.hash;
};
inherit (sourceInfo) name version;
inherit buildInputs;
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
meta = {
description = "IPMI utility";
maintainers = with a.lib.maintainers;
[
raskin
];
platforms = with a.lib.platforms;
linux;
license = a.lib.licenses.gpl3;
};
passthru = {
updateInfo = {
downloadPage = "http://www.gnu.org/software/freeipmi/download.html";
};
};
}) x

View File

@ -640,6 +640,8 @@ let
withX11 = true; withX11 = true;
}; };
freeipmi = callPackage ../tools/system/freeipmi {};
freetalk = callPackage ../applications/networking/instant-messengers/freetalk {}; freetalk = callPackage ../applications/networking/instant-messengers/freetalk {};
ftgl = callPackage ../development/libraries/ftgl { }; ftgl = callPackage ../development/libraries/ftgl { };