2021-01-15 13:21:58 +00:00
|
|
|
{ lib, stdenv, fetchurl, ocamlPackages }:
|
2016-06-24 01:06:53 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "proverif";
|
2020-09-07 05:28:26 +01:00
|
|
|
version = "2.02pl1";
|
2016-06-24 01:06:53 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://prosecco.gforge.inria.fr/personal/bblanche/proverif/proverif${version}.tar.gz";
|
2020-09-07 05:28:26 +01:00
|
|
|
sha256 = "1jmzfpx0hdgfmkq0jp6i3k5av9xxgndjaj743wfy37svn0ga4jjx";
|
2016-06-24 01:06:53 +01:00
|
|
|
};
|
|
|
|
|
2018-05-22 06:49:20 +01:00
|
|
|
buildInputs = with ocamlPackages; [ ocaml findlib lablgtk ];
|
2016-06-24 01:06:53 +01:00
|
|
|
|
|
|
|
buildPhase = "./build";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp ./proverif $out/bin
|
|
|
|
cp ./proveriftotex $out/bin
|
2020-11-27 07:59:02 +00:00
|
|
|
install -D -t $out/share/emacs/site-lisp/ emacs/proverif.el
|
2016-06-24 01:06:53 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Cryptographic protocol verifier in the Dolev-Yao model";
|
2019-04-22 09:14:28 +01:00
|
|
|
homepage = "https://prosecco.gforge.inria.fr/personal/bblanche/proverif/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.thoughtpolice ];
|
2016-06-24 01:06:53 +01:00
|
|
|
};
|
|
|
|
}
|