2016-06-24 02:06:53 +02:00
|
|
|
{ stdenv, fetchurl, ocaml }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "proverif-${version}";
|
2017-09-13 20:01:42 +02:00
|
|
|
version = "1.97pl1";
|
2016-06-24 02:06:53 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://prosecco.gforge.inria.fr/personal/bblanche/proverif/proverif${version}.tar.gz";
|
2017-09-13 20:01:42 +02:00
|
|
|
sha256 = "1b0ji68crdli40a4z62gdq6fnygj3z2j63iaq4jki7wfc3nn3vgq";
|
2016-06-24 02:06:53 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ocaml ];
|
|
|
|
|
|
|
|
buildPhase = "./build";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp ./proverif $out/bin
|
|
|
|
cp ./proveriftotex $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Cryptographic protocol verifier in the Dolev-Yao model";
|
|
|
|
homepage = "http://prosecco.gforge.inria.fr/personal/bblanche/proverif/";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
|
|
|
};
|
|
|
|
}
|