summary refs log blame commit diff
path: root/pkgs/development/libraries/botan/default.nix
blob: 10fd49b5d18ce78f2f9d0d3c13fe744f1532c989 (plain) (tree)
1
2
3
4
5



                        
                                                    






















                                                                    
a :  
let 
  fetchurl = a.fetchurl;

  version = a.lib.attrByPath ["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";
  };
}