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";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "2.05";
|
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";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-SHH1PDKrSgRmmgYMSIa6XZCASWlj+5gKmmLSxCnOq8Q=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = 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
|
|
|
};
|
|
|
|
}
|