depot/third_party/nixpkgs/pkgs/applications/science/logic/proverif/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

28 lines
830 B
Nix

{ stdenv, fetchurl, ocamlPackages }:
stdenv.mkDerivation rec {
pname = "proverif";
version = "2.00";
src = fetchurl {
url = "http://prosecco.gforge.inria.fr/personal/bblanche/proverif/proverif${version}.tar.gz";
sha256 = "0vjphj85ch9q39vc7sd6n4vxy5bplp017vlshk989yhfwb00r37y";
};
buildInputs = with ocamlPackages; [ ocaml findlib lablgtk ];
buildPhase = "./build";
installPhase = ''
mkdir -p $out/bin
cp ./proverif $out/bin
cp ./proveriftotex $out/bin
'';
meta = {
description = "Cryptographic protocol verifier in the Dolev-Yao model";
homepage = "https://prosecco.gforge.inria.fr/personal/bblanche/proverif/";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}