mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
cryptoverif: init at 1.22
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
a69799c740
commit
25bf4a5634
37
pkgs/applications/science/logic/cryptoverif/default.nix
Normal file
37
pkgs/applications/science/logic/cryptoverif/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchurl, ocaml }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cryptoverif-${version}";
|
||||
version = "1.22";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://prosecco.gforge.inria.fr/personal/bblanche/cryptoverif/cryptoverif${version}.tar.gz";
|
||||
sha256 = "17fbmv0askgfnhs5a0ilhizvrr93jkmq82ybm3cgyxhh2zrk0rq1";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml ];
|
||||
|
||||
/* Fix up the frontend to load the 'default' cryptoverif library
|
||||
** from under $out/libexec. By default, it expects to find the files
|
||||
** in $CWD which doesn't work. */
|
||||
patchPhase = ''
|
||||
substituteInPlace ./src/settings.ml \
|
||||
--replace \"default\" \"$out/libexec/default\"
|
||||
'';
|
||||
|
||||
buildPhase = "./build";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/libexec
|
||||
cp ./cryptoverif $out/bin
|
||||
cp ./default.cvl $out/libexec
|
||||
cp ./default.ocvl $out/libexec
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Cryptographic protocol verifier in the computational model";
|
||||
homepage = "http://prosecco.gforge.inria.fr/personal/bblanche/cryptoverif/";
|
||||
license = stdenv.lib.licenses.cecill-b;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||
};
|
||||
}
|
@ -16278,6 +16278,8 @@ in
|
||||
coqPackages = mkCoqPackages_8_4 coqPackages;
|
||||
coqPackages_8_5 = mkCoqPackages_8_5 coqPackages_8_5;
|
||||
|
||||
cryptoverif = callPackage ../applications/science/logic/cryptoverif { };
|
||||
|
||||
cvc3 = callPackage ../applications/science/logic/cvc3 {
|
||||
gmp = lib.overrideDerivation gmp (a: { dontDisableStatic = true; });
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user