commit
0420a532e9
|
@ -6,7 +6,7 @@
|
||||||
{stdenv, fetchurl, writeText, pkgconfig, ocaml, findlib, camlp5, ncurses, lablgtk ? null, csdp ? null}:
|
{stdenv, fetchurl, writeText, pkgconfig, ocaml, findlib, camlp5, ncurses, lablgtk ? null, csdp ? null}:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "8.5";
|
version = "8.5pl1";
|
||||||
coq-version = "8.5";
|
coq-version = "8.5";
|
||||||
buildIde = lablgtk != null;
|
buildIde = lablgtk != null;
|
||||||
ideFlags = if buildIde then "-lablgtkdir ${lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt" else "";
|
ideFlags = if buildIde then "-lablgtkdir ${lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt" else "";
|
||||||
|
@ -23,8 +23,8 @@ stdenv.mkDerivation {
|
||||||
inherit ocaml camlp5;
|
inherit ocaml camlp5;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = https://coq.inria.fr/distrib/V8.5/files/coq-8.5.tar.gz;
|
url = "http://coq.inria.fr/distrib/V${version}/files/coq-${version}.tar.gz";
|
||||||
sha256 = "0gdfm6k5q1f8sz1xr9ijdkkvwqsb7v8prj21gmwv0z0yp6w2zac9";
|
sha256 = "1w2xvm6w16khfn63bp95s25hnkn2ny3w0yqg3lq63gp11aqpbyjb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig ocaml findlib camlp5 ncurses lablgtk ];
|
buildInputs = [ pkgconfig ocaml findlib camlp5 ncurses lablgtk ];
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
{ stdenv, fetchFromGitHub, coq }:
|
{ stdenv, fetchFromGitHub, coq }:
|
||||||
|
|
||||||
let param =
|
let param =
|
||||||
if coq.coq-version == "8.4"
|
{
|
||||||
then { version = "0.9.0"; sha256 = "1n3bk003vvbghbrxkhal6drnc0l65jv9y77wd56is3jw9xgiif0w"; }
|
"8.4" = { version = "0.9.0"; sha256 = "1n3bk003vvbghbrxkhal6drnc0l65jv9y77wd56is3jw9xgiif0w"; };
|
||||||
else { version = "0.9.0-beta3"; sha256 = "1dya0sqp5jjb2cl7cv2ry4gvcr359bkzzqcz0plknf3f1c5zrv0s"; };
|
"8.5" = { version = "0.9.3"; sha256 = "05zff5mrkxpvcsw4gi8whjj5w0mdbqzjmb247lq5b7mry0bypwc5"; };
|
||||||
|
}."${coq.coq-version}";
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
Loading…
Reference in New Issue