coq2html: New expression

+42
+38
pkgs/applications/science/logic/coq2html/default.nix
··· 1 + { stdenv, lib, make, fetchgit, ocaml }: 2 + 3 + let 4 + version = "20170720"; 5 + in 6 + 7 + stdenv.mkDerivation { 8 + name = "coq2html-${version}"; 9 + 10 + src = fetchgit { 11 + url = "https://github.com/xavierleroy/coq2html"; 12 + rev = "e2b94093c6b9a877717f181765e30577de22439e"; 13 + sha256 = "1x466j0pyjggyz0870pdllv9f5vpnfrgkd0w7ajvm9rkwyp3f610"; 14 + }; 15 + 16 + buildInputs = [ make ocaml ]; 17 + 18 + installPhase = '' 19 + mkdir -p $out/bin 20 + cp coq2html $out/bin 21 + ''; 22 + 23 + meta = with stdenv.lib; { 24 + description = "coq2html is an HTML documentation generator for Coq source files"; 25 + longDescription = '' 26 + coq2html is an HTML documentation generator for Coq source files. It is 27 + an alternative to the standard coqdoc documentation generator 28 + distributed along with Coq. The major feature of coq2html is its ability 29 + to fold proof scripts: in the generated HTML, proof scripts are 30 + initially hidden, but can be revealed one by one by clicking on the 31 + "Proof" keyword. 32 + ''; 33 + homepage = https://github.com/xavierleroy/coq2html; 34 + license = licenses.gpl2; 35 + maintainers = with maintainers; [ jwiegley ]; 36 + platforms = platforms.unix; 37 + }; 38 + }
+4
pkgs/top-level/all-packages.nix
··· 18150 18150 coq_HEAD = callPackage ../applications/science/logic/coq/HEAD.nix {}; 18151 18151 coq = coqPackages.coq; 18152 18152 18153 + coq2html = callPackage ../applications/science/logic/coq2html { 18154 + make = pkgs.gnumake3; 18155 + }; 18156 + 18153 18157 cryptoverif = callPackage ../applications/science/logic/cryptoverif { }; 18154 18158 18155 18159 cubicle = callPackage ../applications/science/logic/cubicle { };