depot/third_party/nixpkgs/pkgs/applications/science/logic/proverif/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

31 lines
901 B
Nix

{ lib, stdenv, fetchurl, ocamlPackages }:
stdenv.mkDerivation rec {
pname = "proverif";
version = "2.05";
src = fetchurl {
url = "https://bblanche.gitlabpages.inria.fr/proverif/proverif${version}.tar.gz";
hash = "sha256-SHH1PDKrSgRmmgYMSIa6XZCASWlj+5gKmmLSxCnOq8Q=";
};
strictDeps = true;
nativeBuildInputs = with ocamlPackages; [ ocaml findlib ];
buildPhase = "./build -nointeract";
installPhase = ''
runHook preInstall
install -D -t $out/bin proverif proveriftotex
install -D -t $out/share/emacs/site-lisp/ emacs/proverif.el
runHook postInstall
'';
meta = {
description = "Cryptographic protocol verifier in the formal model";
homepage = "https://bblanche.gitlabpages.inria.fr/proverif/";
license = lib.licenses.gpl2;
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ thoughtpolice vbgl ];
};
}