cryptoverif: init at 1.22

Signed-off-by: Austin Seipp <aseipp@pobox.com>

+39
+37
pkgs/applications/science/logic/cryptoverif/default.nix
··· 1 + { stdenv, fetchurl, ocaml }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "cryptoverif-${version}"; 5 + version = "1.22"; 6 + 7 + src = fetchurl { 8 + url = "http://prosecco.gforge.inria.fr/personal/bblanche/cryptoverif/cryptoverif${version}.tar.gz"; 9 + sha256 = "17fbmv0askgfnhs5a0ilhizvrr93jkmq82ybm3cgyxhh2zrk0rq1"; 10 + }; 11 + 12 + buildInputs = [ ocaml ]; 13 + 14 + /* Fix up the frontend to load the 'default' cryptoverif library 15 + ** from under $out/libexec. By default, it expects to find the files 16 + ** in $CWD which doesn't work. */ 17 + patchPhase = '' 18 + substituteInPlace ./src/settings.ml \ 19 + --replace \"default\" \"$out/libexec/default\" 20 + ''; 21 + 22 + buildPhase = "./build"; 23 + installPhase = '' 24 + mkdir -p $out/bin $out/libexec 25 + cp ./cryptoverif $out/bin 26 + cp ./default.cvl $out/libexec 27 + cp ./default.ocvl $out/libexec 28 + ''; 29 + 30 + meta = { 31 + description = "Cryptographic protocol verifier in the computational model"; 32 + homepage = "http://prosecco.gforge.inria.fr/personal/bblanche/cryptoverif/"; 33 + license = stdenv.lib.licenses.cecill-b; 34 + platforms = stdenv.lib.platforms.unix; 35 + maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 36 + }; 37 + }
+2
pkgs/top-level/all-packages.nix
··· 16278 16278 coqPackages = mkCoqPackages_8_4 coqPackages; 16279 16279 coqPackages_8_5 = mkCoqPackages_8_5 coqPackages_8_5; 16280 16280 16281 + cryptoverif = callPackage ../applications/science/logic/cryptoverif { }; 16282 + 16281 16283 cvc3 = callPackage ../applications/science/logic/cvc3 { 16282 16284 gmp = lib.overrideDerivation gmp (a: { dontDisableStatic = true; }); 16283 16285 };