2018-05-22 06:49:20 +01:00
|
|
|
{ stdenv, fetchurl, ocamlPackages }:
|
2016-06-24 01:06:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "proverif-${version}";
|
2018-05-22 06:49:20 +01:00
|
|
|
version = "2.00";
|
2016-06-24 01:06:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://prosecco.gforge.inria.fr/personal/bblanche/proverif/proverif${version}.tar.gz";
|
2018-05-22 06:49:20 +01:00
|
|
|
sha256 = "0vjphj85ch9q39vc7sd6n4vxy5bplp017vlshk989yhfwb00r37y";
|
2016-06-24 01:06:53 +01:00
|
|
|
};
|
|
|
|
|
2018-05-22 06:49:20 +01:00
|
|
|
buildInputs = with ocamlPackages; [ ocaml findlib lablgtk ];
|
2016-06-24 01:06:53 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|