2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchurl, ocamlPackages }:
|
2016-06-24 00:06:53 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "proverif";
|
2023-10-23 10:07:37 +00:00
|
|
|
version = "2.05";
|
2016-06-24 00:06:53 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-02 16:04:59 +00:00
|
|
|
url = "https://bblanche.gitlabpages.inria.fr/proverif/proverif${version}.tar.gz";
|
2023-10-23 10:07:37 +00:00
|
|
|
hash = "sha256-SHH1PDKrSgRmmgYMSIa6XZCASWlj+5gKmmLSxCnOq8Q=";
|
2016-06-24 00:06:53 +00:00
|
|
|
};
|
|
|
|
|
2022-04-04 11:57:15 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = with ocamlPackages; [ ocaml findlib ];
|
2016-06-24 00:06:53 +00:00
|
|
|
|
2021-11-02 16:04:59 +00:00
|
|
|
buildPhase = "./build -nointeract";
|
2016-06-24 00:06:53 +00:00
|
|
|
installPhase = ''
|
2021-11-02 16:04:59 +00:00
|
|
|
runHook preInstall
|
|
|
|
install -D -t $out/bin proverif proveriftotex
|
2020-11-27 07:59:02 +00:00
|
|
|
install -D -t $out/share/emacs/site-lisp/ emacs/proverif.el
|
2021-11-02 16:04:59 +00:00
|
|
|
runHook postInstall
|
2016-06-24 00:06:53 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2021-11-02 16:04:59 +00:00
|
|
|
description = "Cryptographic protocol verifier in the formal model";
|
|
|
|
homepage = "https://bblanche.gitlabpages.inria.fr/proverif/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
2021-11-02 16:04:59 +00:00
|
|
|
maintainers = with lib.maintainers; [ thoughtpolice vbgl ];
|
2016-06-24 00:06:53 +00:00
|
|
|
};
|
|
|
|
}
|