Update Botan
svn path=/nixpkgs/trunk/; revision=24639
This commit is contained in:
parent
674111c1fd
commit
d19aa61253
@ -1,28 +1,52 @@
|
|||||||
a :
|
x@{builderDefsPackage
|
||||||
|
, python
|
||||||
|
, bzip2, zlib, gmp, openssl
|
||||||
|
, boost
|
||||||
|
, ...}:
|
||||||
|
builderDefsPackage
|
||||||
|
(a :
|
||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
helperArgNames = ["stdenv" "fetchurl" "builderDefsPackage"] ++
|
||||||
|
[];
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "1.8.1" a;
|
buildInputs = map (n: builtins.getAttr n x)
|
||||||
buildInputs = with a; [
|
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||||
perl
|
sourceInfo = rec {
|
||||||
];
|
baseName="botan";
|
||||||
|
tarBaseName="Botan";
|
||||||
|
baseVersion="1.8";
|
||||||
|
revision="11";
|
||||||
|
version="${baseVersion}.${revision}";
|
||||||
|
name="${baseName}-${version}";
|
||||||
|
url="http://files.randombit.net/${baseName}/v${baseVersion}/${tarBaseName}-${version}.tbz";
|
||||||
|
hash="194vffc9gfb0912lzndn8nzblg2d2gjmk13fc8hppgpw7ln0mdn3";
|
||||||
|
};
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
src = fetchurl {
|
src = a.fetchurl {
|
||||||
url = "http://files.randombit.net/botan/Botan-${version}.tbz";
|
url = sourceInfo.url;
|
||||||
sha256 = "1lgqkg7q0qpzh647zmzay149myrjihcx4jp3rrz6gw17rgn11v98";
|
sha256 = sourceInfo.hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inherit (sourceInfo) name version;
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
configureFlags = [];
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
/* doConfigure should be removed if not needed */
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||||
|
configureCommand = "python configure.py --with-gnump --with-bzip2 --with-zlib --with-openssl --with-tr1-implementation=boost";
|
||||||
configureCommand = "perl ./configure.pl";
|
|
||||||
|
|
||||||
name = "botan-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Cryptographic algorithms library";
|
description = "Cryptographic algorithms library";
|
||||||
|
maintainers = with a.lib.maintainers;
|
||||||
|
[
|
||||||
|
raskin
|
||||||
|
];
|
||||||
|
platforms = with a.lib.platforms;
|
||||||
|
unix;
|
||||||
};
|
};
|
||||||
}
|
passthru = {
|
||||||
|
updateInfo = {
|
||||||
|
downloadPage = "http://files.randombit.net/botan/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}) x
|
||||||
|
@ -2610,9 +2610,7 @@ let
|
|||||||
enableStatic = true;
|
enableStatic = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
botan = builderDefsPackage (import ../development/libraries/botan) {
|
botan = callPackage ../development/libraries/botan { };
|
||||||
inherit perl;
|
|
||||||
};
|
|
||||||
|
|
||||||
buddy = callPackage ../development/libraries/buddy { };
|
buddy = callPackage ../development/libraries/buddy { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user