coq2html: New expression

This commit is contained in:
John Wiegley 2017-07-20 11:50:56 -04:00
parent 2712554f4f
commit 31437ccf7a
No known key found for this signature in database
GPG Key ID: C144D8F4F19FE630
2 changed files with 58 additions and 81 deletions

View File

@ -0,0 +1,38 @@
{ stdenv, lib, make, fetchgit, ocaml }:
let
version = "20170720";
in
stdenv.mkDerivation {
name = "coq2html-${version}";
src = fetchgit {
url = "https://github.com/xavierleroy/coq2html";
rev = "e2b94093c6b9a877717f181765e30577de22439e";
sha256 = "1x466j0pyjggyz0870pdllv9f5vpnfrgkd0w7ajvm9rkwyp3f610";
};
buildInputs = [ make ocaml ];
installPhase = ''
mkdir -p $out/bin
cp coq2html $out/bin
'';
meta = with stdenv.lib; {
description = "coq2html is an HTML documentation generator for Coq source files";
longDescription = ''
coq2html is an HTML documentation generator for Coq source files. It is
an alternative to the standard coqdoc documentation generator
distributed along with Coq. The major feature of coq2html is its ability
to fold proof scripts: in the generated HTML, proof scripts are
initially hidden, but can be revealed one by one by clicking on the
"Proof" keyword.
'';
homepage = https://github.com/xavierleroy/coq2html;
license = licenses.gpl2;
maintainers = with maintainers; [ jwiegley ];
platforms = platforms.unix;
};
}

View File

@ -412,10 +412,6 @@ with pkgs;
albert = libsForQt5.callPackage ../applications/misc/albert {};
alacritty = callPackage ../applications/misc/alacritty {
inherit (xorg) libXcursor libXxf86vm libXi;
};
amazon-glacier-cmd-interface = callPackage ../tools/backup/amazon-glacier-cmd-interface { };
ammonite = callPackage ../development/tools/ammonite {};
@ -535,8 +531,6 @@ with pkgs;
bonnie = callPackage ../tools/filesystems/bonnie { };
container-linux-config-transpiler = callPackage ../development/tools/container-linux-config-transpiler { };
djmount = callPackage ../tools/filesystems/djmount { };
dgsh = callPackage ../shells/dgsh { };
@ -991,10 +985,6 @@ with pkgs;
fastJson = callPackage ../development/libraries/fastjson { };
fast-cli = nodePackages.fast-cli.overrideDerivation (old: {
buildInputs = old.buildInputs ++ [phantomjs2];
});
filebench = callPackage ../tools/misc/filebench { };
fsmon = callPackage ../tools/misc/fsmon { };
@ -1045,12 +1035,8 @@ with pkgs;
heatseeker = callPackage ../tools/misc/heatseeker { };
hebcal = callPackage ../tools/misc/hebcal {};
hexio = callPackage ../development/tools/hexio { };
hid-listen = callPackage ../tools/misc/hid-listen { };
hostsblock = callPackage ../tools/misc/hostsblock { };
hr = callPackage ../applications/misc/hr { };
@ -1103,8 +1089,6 @@ with pkgs;
syslogng_incubator = callPackage ../tools/system/syslog-ng-incubator { };
ring-daemon = callPackage ../applications/networking/instant-messengers/ring-daemon { };
rsyslog = callPackage ../tools/system/rsyslog {
hadoop = null; # Currently Broken
czmq = czmq3;
@ -2199,8 +2183,6 @@ with pkgs;
google-fonts = callPackage ../data/fonts/google-fonts { };
google-compute-engine = callPackage ../tools/virtualization/google-compute-engine { };
gource = callPackage ../applications/version-management/gource { };
gpart = callPackage ../tools/filesystems/gpart { };
@ -3405,8 +3387,6 @@ with pkgs;
graphicalSupport = true;
};
nnn = callPackage ../applications/misc/nnn { };
notify-osd = callPackage ../applications/misc/notify-osd { };
nox = callPackage ../tools/package-management/nox {
@ -4380,8 +4360,6 @@ with pkgs;
tarsnap = callPackage ../tools/backup/tarsnap { };
tarsnapper = callPackage ../tools/backup/tarsnapper { };
tcpcrypt = callPackage ../tools/security/tcpcrypt { };
tcptraceroute = callPackage ../tools/networking/tcptraceroute { };
@ -5632,8 +5610,8 @@ with pkgs;
(lib.addMetaAttrs { outputsToInstall = [ "jre" ]; }
(openjdk7.jre // { outputs = [ "jre" ]; }));
jdk8 = if stdenv.isArm then oraclejdk8 else openjdk8 // { outputs = [ "out" ]; };
jre8 = if stdenv.isArm then oraclejre8 else lib.setName "openjre-${lib.getVersion pkgs.openjdk8.jre}"
jdk8 = openjdk8 // { outputs = [ "out" ]; };
jre8 = lib.setName "openjre-${lib.getVersion pkgs.openjdk8.jre}"
(lib.addMetaAttrs { outputsToInstall = [ "jre" ]; }
(openjdk8.jre // { outputs = [ "jre" ]; }));
jre8_headless =
@ -5666,8 +5644,7 @@ with pkgs;
supportsJDK =
system == "i686-linux" ||
system == "x86_64-linux" ||
system == "armv7l-linux";
system == "x86_64-linux";
jdkdistro = oraclejdk8distro;
@ -5901,14 +5878,6 @@ with pkgs;
buildRustPackage = callPackage ../build-support/rust {
inherit rust;
};
rustcSrc = stdenv.mkDerivation {
name = "rust-src";
src = rust.rustc.src;
phases = ["unpackPhase" "installPhase"];
installPhase = "mv src $out";
};
});
rainicorn = callPackage ../development/tools/rust/rainicorn { };
@ -6086,7 +6055,7 @@ with pkgs;
inherit (beam.interpreters)
erlang erlang_odbc erlang_javac erlang_odbc_javac
elixir elixir_1_5_rc elixir_1_4 elixir_1_3
lfe lfe_1_2
lfe
erlangR16 erlangR16_odbc
erlang_basho_R16B02 erlang_basho_R16B02_odbc
erlangR17 erlangR17_odbc erlangR17_javac erlangR17_odbc_javac
@ -7086,7 +7055,7 @@ with pkgs;
pahole = callPackage ../development/tools/misc/pahole {};
pants = callPackage ../development/tools/build-managers/pants {};
inherit (callPackages ../development/tools/build-managers/pants {}) pants pants13-pre;
parse-cli-bin = callPackage ../development/tools/parse-cli-bin { };
@ -7412,8 +7381,6 @@ with pkgs;
aspellDicts = recurseIntoAttrs (callPackages ../development/libraries/aspell/dictionaries.nix {});
aspellWithDicts = callPackage ../development/libraries/aspell/aspell-with-dicts.nix { };
attica = callPackage ../development/libraries/attica { };
attr = callPackage ../development/libraries/attr { };
@ -7678,8 +7645,6 @@ with pkgs;
vmmlib = callPackage ../development/libraries/vmmlib {};
elastix = callPackage ../development/libraries/science/biology/elastix { };
enchant = callPackage ../development/libraries/enchant { };
enet = callPackage ../development/libraries/enet { };
@ -11526,10 +11491,8 @@ with pkgs;
storm = callPackage ../servers/computing/storm { };
slurm = callPackage ../servers/computing/slurm { gtk2 = null; };
slurm-llnl = slurm; # renamed July 2017
slurm-full = appendToName "full" (callPackage ../servers/computing/slurm { });
slurm-llnl-full = slurm-full; # renamed July 2017
systemd-journal2gelf = callPackage ../tools/system/systemd-journal2gelf { };
@ -12113,20 +12076,6 @@ with pkgs;
];
};
linux_samus_4_12 = callPackage ../os-specific/linux/kernel/linux-samus-4.12.nix {
kernelPatches =
[ kernelPatches.bridge_stp_helper
kernelPatches.p9_fixes
# See pkgs/os-specific/linux/kernel/cpu-cgroup-v2-patches/README.md
# when adding a new linux version
kernelPatches.cpu-cgroup-v2."4.11"
kernelPatches.modinst_arg_list_too_long
];
};
linux_samus_latest = linux_samus_4_12;
linux_chromiumos_3_18 = callPackage ../os-specific/linux/kernel/linux-chromiumos-3.18.nix {
kernelPatches = [ kernelPatches.chromiumos_Kconfig_fix_entries_3_18
kernelPatches.chromiumos_no_link_restrictions
@ -12331,10 +12280,6 @@ with pkgs;
linux_grsec_server_xen = linux_grsec_nixos;
# Samus kernels
linuxPackages_samus_4_12 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_samus_4_12);
linuxPackages_samus_latest = recurseIntoAttrs (linuxPackagesFor pkgs.linux_samus_latest);
# ChromiumOS kernels
linuxPackages_chromiumos_3_18 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_chromiumos_3_18);
linuxPackages_chromiumos_latest = recurseIntoAttrs (linuxPackagesFor pkgs.linux_chromiumos_latest);
@ -13311,9 +13256,11 @@ with pkgs;
amsn = callPackage ../applications/networking/instant-messengers/amsn { };
androidStudioPackages = callPackage ../applications/editors/android-studio/packages.nix {};
android-studio = androidStudioPackages.stable;
android-studio-preview = androidStudioPackages.preview;
android-studio = callPackage ../applications/editors/android-studio {
fontsConf = makeFontsConf {
fontDirectories = [];
};
};
antfs-cli = callPackage ../applications/misc/antfs-cli {};
@ -13381,8 +13328,6 @@ with pkgs;
ethabi = self.altcoins.ethabi;
ethrun = self.altcoins.ethrun;
seth = self.altcoins.seth;
dapp = self.altcoins.dapp;
hsevm = self.altcoins.hsevm;
stellar-core = self.altcoins.stellar-core;
@ -13440,8 +13385,6 @@ with pkgs;
libgpod = pkgs.libgpod.override { monoSupport = true; };
};
bashSnippets = callPackage ../applications/misc/bashSnippets { };
batik = callPackage ../applications/graphics/batik { };
batti = callPackage ../applications/misc/batti { };
@ -14609,8 +14552,6 @@ with pkgs;
ht = callPackage ../applications/editors/ht { };
hue-cli = callPackage ../tools/networking/hue-cli { };
hugin = callPackage ../applications/graphics/hugin { };
hugo = callPackage ../applications/misc/hugo { };
@ -18003,10 +17944,6 @@ with pkgs;
cmake = cmakeCurses;
});
### SCIENCE/MEDICINE
aliza = callPackage ../applications/science/medicine/aliza { };
### PHYSICS
sacrifice = callPackage ../applications/science/physics/sacrifice {};
@ -18132,6 +18069,10 @@ with pkgs;
coq_HEAD = callPackage ../applications/science/logic/coq/HEAD.nix {};
coq = coqPackages.coq;
coq2html = callPackage ../applications/science/logic/coq2html {
make = pkgs.gnumake3;
};
cryptoverif = callPackage ../applications/science/logic/cryptoverif { };
cubicle = callPackage ../applications/science/logic/cubicle { };
@ -18246,7 +18187,11 @@ with pkgs;
z3 = callPackage ../applications/science/logic/z3 {};
z3_opt = callPackage ../applications/science/logic/z3_opt {};
boolector = callPackage ../applications/science/logic/boolector {};
boolector = boolector15;
boolector15 = callPackage ../applications/science/logic/boolector {};
boolector16 = lowPrio (callPackage ../applications/science/logic/boolector {
useV16 = true;
});
### SCIENCE / ELECTRONICS
@ -18503,9 +18448,6 @@ with pkgs;
cups-bjnp = callPackage ../misc/cups/drivers/cups-bjnp { };
# this driver ships with pre-compiled 32-bit binary libraries
cnijfilter_2_80 = callPackage_i686 ../misc/cups/drivers/cnijfilter_2_80 { };
cnijfilter2 = callPackage ../misc/cups/drivers/cnijfilter2 {
libusb = libusb1;
};
@ -18701,7 +18643,6 @@ with pkgs;
nix-serve = callPackage ../tools/package-management/nix-serve { };
nixos-artwork = callPackage ../data/misc/nixos-artwork { };
nixos-icons = callPackage ../data/misc/nixos-artwork/icons.nix { };
nixos-container = callPackage ../tools/virtualization/nixos-container { };
@ -19154,9 +19095,7 @@ with pkgs;
tomb = callPackage ../os-specific/linux/tomb {};
tomboy = callPackage ../applications/misc/tomboy {
mono = mono46;
};
tomboy = callPackage ../applications/misc/tomboy {};
imatix_gsl = callPackage ../development/tools/imatix_gsl {};