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-06 16:07:01 +00:00
|
|
|
version = "2.03";
|
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";
|
|
|
|
sha256 = "sha256:1q5mp9il09jylimcaqczb3kh34gb5px88js127gxv0jj5b4bqfc7";
|
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
|
|
|
};
|
|
|
|
}
|