tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
isabelle: Version 2014 building on Linux and Darwin
John Wiegley
11 years ago
10e215a3
272c44f1
+11
-5
3 changed files
expand all
collapse all
unified
split
pkgs
applications
science
logic
isabelle
default.nix
development
compilers
polyml
default.nix
top-level
all-packages.nix
+8
-3
pkgs/applications/science/logic/isabelle/default.nix
reviewed
···
1
1
-
{ stdenv, fetchurl, perl, nettools, polyml, proofgeneral }:
1
1
+
{ stdenv, fetchurl, perl, nettools, java, polyml, proofgeneral }:
2
2
# nettools needed for hostname
3
3
4
4
let
···
21
21
};
22
22
23
23
buildInputs = [ perl polyml ]
24
24
-
++ stdenv.lib.optional (!stdenv.isDarwin) nettools;
24
24
+
++ stdenv.lib.optionals (!stdenv.isDarwin) [ nettools java ];
25
25
26
26
sourceRoot = dirname;
27
27
···
35
35
substituteInPlace etc/settings \
36
36
--subst-var-by ML_HOME "${polyml}/bin" \
37
37
--subst-var-by PROOFGENERAL_HOME "${proofgeneral}/share/emacs/site-lisp/ProofGeneral"
38
38
+
substituteInPlace contrib/jdk/etc/settings \
39
39
+
--replace ISABELLE_JDK_HOME= '#ISABELLE_JDK_HOME='
40
40
+
substituteInPlace contrib/polyml-5.5.2-1/etc/settings \
41
41
+
--replace 'ML_HOME="$POLYML_HOME/$ML_PLATFORM"' \
42
42
+
"ML_HOME=\"${polyml}/bin\""
38
43
'';
39
44
40
45
buildPhase = ''
41
41
-
./bin/isabelle build -s $theories
46
46
+
ISABELLE_JDK_HOME=${java} ./bin/isabelle build -s $theories
42
47
'';
43
48
44
49
installPhase = ''
+2
-2
pkgs/development/compilers/polyml/default.nix
reviewed
···
1
1
{stdenv, fetchurl}:
2
2
3
3
let
4
4
-
version = "5.5.1";
4
4
+
version = "5.5.2";
5
5
in
6
6
7
7
stdenv.mkDerivation {
···
9
9
10
10
src = fetchurl {
11
11
url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz";
12
12
-
sha256 = "16i0ir5mydl7381aijihkll19khp3z8dq0g2ja6k0pcbpkd0k06g";
12
12
+
sha256 = "10m680qdad6bd50bav9xjsgmsxw8yxg55vr7grbg0gvykzl2pzbk";
13
13
};
14
14
15
15
meta = {
+1
pkgs/top-level/all-packages.nix
reviewed
···
11506
11506
isabelle = import ../applications/science/logic/isabelle {
11507
11507
inherit (pkgs) stdenv fetchurl nettools perl polyml;
11508
11508
inherit (pkgs.emacs24Packages) proofgeneral;
11509
11509
+
java = if stdenv.isLinux then jre else jdk;
11509
11510
};
11510
11511
11511
11512
iprover = callPackage ../applications/science/logic/iprover {};