lol

isabelle: Version 2014 building on Linux and Darwin

+11 -5
+8 -3
pkgs/applications/science/logic/isabelle/default.nix
··· 1 - { stdenv, fetchurl, perl, nettools, polyml, proofgeneral }: 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 - ++ stdenv.lib.optional (!stdenv.isDarwin) nettools; 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 + substituteInPlace contrib/jdk/etc/settings \ 39 + --replace ISABELLE_JDK_HOME= '#ISABELLE_JDK_HOME=' 40 + substituteInPlace contrib/polyml-5.5.2-1/etc/settings \ 41 + --replace 'ML_HOME="$POLYML_HOME/$ML_PLATFORM"' \ 42 + "ML_HOME=\"${polyml}/bin\"" 38 43 ''; 39 44 40 45 buildPhase = '' 41 - ./bin/isabelle build -s $theories 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
··· 1 1 {stdenv, fetchurl}: 2 2 3 3 let 4 - version = "5.5.1"; 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 - sha256 = "16i0ir5mydl7381aijihkll19khp3z8dq0g2ja6k0pcbpkd0k06g"; 12 + sha256 = "10m680qdad6bd50bav9xjsgmsxw8yxg55vr7grbg0gvykzl2pzbk"; 13 13 }; 14 14 15 15 meta = {
+1
pkgs/top-level/all-packages.nix
··· 11506 11506 isabelle = import ../applications/science/logic/isabelle { 11507 11507 inherit (pkgs) stdenv fetchurl nettools perl polyml; 11508 11508 inherit (pkgs.emacs24Packages) proofgeneral; 11509 + java = if stdenv.isLinux then jre else jdk; 11509 11510 }; 11510 11511 11511 11512 iprover = callPackage ../applications/science/logic/iprover {};