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

30 lines
881 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{ lib, stdenv, fetchurl, ocamlPackages }:
stdenv.mkDerivation rec {
pname = "proverif";
2020-09-07 05:28:26 +01:00
version = "2.02pl1";
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";
};
2018-05-22 06:49:20 +01:00
buildInputs = with ocamlPackages; [ ocaml findlib lablgtk ];
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
'';
meta = {
description = "Cryptographic protocol verifier in the Dolev-Yao model";
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 ];
};
}