2021-01-17 00:15:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, ocamlPackages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "proverif";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "2.04";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-12-06 16:07:01 +00:00
|
|
|
url = "https://bblanche.gitlabpages.inria.fr/proverif/proverif${version}.tar.gz";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256:0xgwnp59779xc40sb7ck8rmfn620pilxyq79l3bymj9m7z0mwvm9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildInputs = with ocamlPackages; [ ocaml findlib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
buildPhase = "./build -nointeract";
|
2020-04-24 23:36:52 +00:00
|
|
|
installPhase = ''
|
2021-12-06 16:07:01 +00:00
|
|
|
runHook preInstall
|
|
|
|
install -D -t $out/bin proverif proveriftotex
|
2020-11-30 08:33:03 +00:00
|
|
|
install -D -t $out/share/emacs/site-lisp/ emacs/proverif.el
|
2021-12-06 16:07:01 +00:00
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2021-12-06 16:07:01 +00:00
|
|
|
description = "Cryptographic protocol verifier in the formal model";
|
|
|
|
homepage = "https://bblanche.gitlabpages.inria.fr/proverif/";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with lib.maintainers; [ thoughtpolice vbgl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|