hol: k.8 -> k.10, closes #8477
This commit is contained in:
parent
3ec096f65b
commit
723cd518b9
@ -1,22 +1,33 @@
|
|||||||
{stdenv, fetchurl, polyml, graphviz, fontconfig, liberation_ttf,
|
{stdenv, pkgs, fetchurl, graphviz, fontconfig, liberation_ttf,
|
||||||
experimentalKernel ? true}:
|
experimentalKernel ? true}:
|
||||||
|
|
||||||
let
|
let
|
||||||
pname = "hol4";
|
pname = "hol4";
|
||||||
version = "k.8";
|
vnum = "10";
|
||||||
holsubdir = "hol-kananaskis-8";
|
in
|
||||||
|
|
||||||
|
let
|
||||||
|
version = "k.${vnum}";
|
||||||
|
longVersion = "kananaskis-${vnum}";
|
||||||
|
holsubdir = "hol-${longVersion}";
|
||||||
kernelFlag = if experimentalKernel then "-expk" else "-stdknl";
|
kernelFlag = if experimentalKernel then "-expk" else "-stdknl";
|
||||||
in
|
in
|
||||||
|
|
||||||
|
let
|
||||||
|
polymlEnableShared = with pkgs; lib.overrideDerivation polyml (attrs: {
|
||||||
|
configureFlags = "--enable-shared";
|
||||||
|
});
|
||||||
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/hol/hol/kananaskis-8/kananaskis-8.tar.gz;
|
url = "mirror://sourceforge/hol/hol/${longVersion}/${holsubdir}.tar.gz";
|
||||||
sha256 = "5ce4c1e37301dbc38772694e98f1c7eabf69255908de204b280d8b2b1709e9d0";
|
sha256 = "0x2wxksr305h1lrbklf6p42lp09rbhb4rsh74g0l70sgapyiac9b";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [polyml graphviz fontconfig liberation_ttf];
|
buildInputs = [polymlEnableShared graphviz fontconfig liberation_ttf];
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
|
|
||||||
@ -54,7 +65,7 @@ stdenv.mkDerivation {
|
|||||||
# ln -s $out/src/hol4.${version}/bin $out/bin
|
# ln -s $out/src/hol4.${version}/bin $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Interactive theorem prover based on Higher-Order Logic";
|
description = "Interactive theorem prover based on Higher-Order Logic";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
HOL4 is the latest version of the HOL interactive proof
|
HOL4 is the latest version of the HOL interactive proof
|
||||||
@ -69,6 +80,7 @@ stdenv.mkDerivation {
|
|||||||
checking.
|
checking.
|
||||||
'';
|
'';
|
||||||
homepage = "http://hol.sourceforge.net/";
|
homepage = "http://hol.sourceforge.net/";
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ mudri ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user