nixpkgs/pkgs/applications/science/logic/proverif/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
901 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchurl, ocamlPackages }:
stdenv.mkDerivation rec {
pname = "proverif";
2023-10-23 10:07:37 +00:00
version = "2.05";
src = fetchurl {
url = "https://bblanche.gitlabpages.inria.fr/proverif/proverif${version}.tar.gz";
2023-10-23 10:07:37 +00:00
hash = "sha256-SHH1PDKrSgRmmgYMSIa6XZCASWlj+5gKmmLSxCnOq8Q=";
};
strictDeps = true;
nativeBuildInputs = with ocamlPackages; [ ocaml findlib ];
buildPhase = "./build -nointeract";
installPhase = ''
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
runHook postInstall
'';
meta = {
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;
maintainers = with lib.maintainers; [ thoughtpolice vbgl ];
};
}