From b42501e1e7c74128026aea611e561e7145c1be2c Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 2 Nov 2021 17:04:59 +0100 Subject: [PATCH] =?UTF-8?q?proverif:=202.02pl1=20=E2=86=92=202.03?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Do not build `proverif_interact` (that was not installed). --- .../science/logic/proverif/default.nix | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/science/logic/proverif/default.nix b/pkgs/applications/science/logic/proverif/default.nix index ba46d87581e0..fbc9eb2d8a15 100644 --- a/pkgs/applications/science/logic/proverif/default.nix +++ b/pkgs/applications/science/logic/proverif/default.nix @@ -2,28 +2,28 @@ stdenv.mkDerivation rec { pname = "proverif"; - version = "2.02pl1"; + version = "2.03"; src = fetchurl { - url = "http://prosecco.gforge.inria.fr/personal/bblanche/proverif/proverif${version}.tar.gz"; - sha256 = "1jmzfpx0hdgfmkq0jp6i3k5av9xxgndjaj743wfy37svn0ga4jjx"; + url = "https://bblanche.gitlabpages.inria.fr/proverif/proverif${version}.tar.gz"; + sha256 = "sha256:1q5mp9il09jylimcaqczb3kh34gb5px88js127gxv0jj5b4bqfc7"; }; - buildInputs = with ocamlPackages; [ ocaml findlib lablgtk ]; + buildInputs = with ocamlPackages; [ ocaml findlib ]; - buildPhase = "./build"; + buildPhase = "./build -nointeract"; installPhase = '' - mkdir -p $out/bin - cp ./proverif $out/bin - cp ./proveriftotex $out/bin + 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 Dolev-Yao model"; - homepage = "https://prosecco.gforge.inria.fr/personal/bblanche/proverif/"; + description = "Cryptographic protocol verifier in the formal model"; + homepage = "https://bblanche.gitlabpages.inria.fr/proverif/"; license = lib.licenses.gpl2; platforms = lib.platforms.unix; - maintainers = [ lib.maintainers.thoughtpolice ]; + maintainers = with lib.maintainers; [ thoughtpolice vbgl ]; }; }