From 77161de4546697f9bf2da6d081eeba4c399b3313 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 1 May 2018 19:54:21 -0400 Subject: nixpkgs docs: format =) --- doc/languages-frameworks/coq.xml | 60 +++++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 29 deletions(-) (limited to 'doc/languages-frameworks/coq.xml') diff --git a/doc/languages-frameworks/coq.xml b/doc/languages-frameworks/coq.xml index 0ce1abd6194c..d5f2574039f2 100644 --- a/doc/languages-frameworks/coq.xml +++ b/doc/languages-frameworks/coq.xml @@ -1,36 +1,38 @@
+ Coq -Coq - - Coq libraries should be installed in - $(out)/lib/coq/${coq.coq-version}/user-contrib/. - Such directories are automatically added to the - $COQPATH environment variable by the hook defined - in the Coq derivation. - - - Some libraries require OCaml and sometimes also Camlp5 or findlib. - The exact versions that were used to build Coq are saved in the - coq.ocaml and coq.camlp5 - and coq.findlib attributes. - - - Coq libraries may be compatible with some specific versions of Coq only. - The compatibleCoqVersions attribute is used to - precisely select those versions of Coq that are compatible with this - derivation. - - - Here is a simple package example. It is a pure Coq library, thus it - depends on Coq. It builds on the Mathematical Components library, thus it - also takes mathcomp as buildInputs. - Its Makefile has been generated using - coq_makefile so we only have to - set the $COQLIB variable at install time. - - + + Coq libraries should be installed in + $(out)/lib/coq/${coq.coq-version}/user-contrib/. Such + directories are automatically added to the $COQPATH + environment variable by the hook defined in the Coq derivation. + + + + Some libraries require OCaml and sometimes also Camlp5 or findlib. The exact + versions that were used to build Coq are saved in the + coq.ocaml and coq.camlp5 and + coq.findlib attributes. + + + + Coq libraries may be compatible with some specific versions of Coq only. The + compatibleCoqVersions attribute is used to precisely + select those versions of Coq that are compatible with this derivation. + + + + Here is a simple package example. It is a pure Coq library, thus it depends + on Coq. It builds on the Mathematical Components library, thus it also takes + mathcomp as buildInputs. Its + Makefile has been generated using + coq_makefile so we only have to set the + $COQLIB variable at install time. + + + { stdenv, fetchFromGitHub, coq, mathcomp }: stdenv.mkDerivation rec { -- cgit 1.4.1