summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/botan
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2009-03-25 16:06:00 +0000
committerMichael Raskin <7c6f434c@mail.ru>2009-03-25 16:06:00 +0000
commit6986ddc2cf10939f70d2691e870689f35aad72c7 (patch)
treee53c19d009b9870308ad9e72e0c578806cd074ca /pkgs/development/libraries/botan
parente06491168bf7dc9d98c64248ad9e32a70b8dd09a (diff)
Updated Monotone to 0.43
svn path=/nixpkgs/trunk/; revision=14704
Diffstat (limited to 'pkgs/development/libraries/botan')
-rw-r--r--pkgs/development/libraries/botan/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/libraries/botan/default.nix b/pkgs/development/libraries/botan/default.nix
new file mode 100644
index 000000000000..ed4cb09ebc77
--- /dev/null
+++ b/pkgs/development/libraries/botan/default.nix
@@ -0,0 +1,28 @@
+a :
+let
+ fetchurl = a.fetchurl;
+
+ version = a.lib.getAttr ["version"] "1.8.1" a;
+ buildInputs = with a; [
+ perl
+ ];
+in
+rec {
+ src = fetchurl {
+ url = "http://files.randombit.net/botan/Botan-${version}.tbz";
+ sha256 = "1lgqkg7q0qpzh647zmzay149myrjihcx4jp3rrz6gw17rgn11v98";
+ };
+
+ inherit buildInputs;
+ configureFlags = [];
+
+ /* doConfigure should be removed if not needed */
+ phaseNames = ["doConfigure" "doMakeInstall"];
+
+ configureCommand = "perl ./configure.pl";
+
+ name = "botan-" + version;
+ meta = {
+ description = "Cryptographic algorithms library";
+ };
+}