mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
commit
15d98507ee
@ -3,18 +3,18 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "isabelle";
|
pname = "isabelle";
|
||||||
version = "2018";
|
version = "2020";
|
||||||
|
|
||||||
dirname = "Isabelle${version}";
|
dirname = "Isabelle${version}";
|
||||||
|
|
||||||
src = if stdenv.isDarwin
|
src = if stdenv.isDarwin
|
||||||
then fetchurl {
|
then fetchurl {
|
||||||
url = "http://isabelle.in.tum.de/website-${dirname}/dist/${dirname}.dmg";
|
url = "https://isabelle.in.tum.de/website-${dirname}/dist/${dirname}_macos.tar.gz";
|
||||||
sha256 = "0jwnvsf5whklq14ihaxs7b9nbic94mm56nvxljrdbvl6y628j9r5";
|
sha256 = "1sfr5filsaqj93g5y4p9n8g5652dhr4whj25x4lifdxr2pp560xx";
|
||||||
}
|
}
|
||||||
else fetchurl {
|
else fetchurl {
|
||||||
url = "https://isabelle.in.tum.de/website-${dirname}/dist/${dirname}_linux.tar.gz";
|
url = "https://isabelle.in.tum.de/website-${dirname}/dist/${dirname}_linux.tar.gz";
|
||||||
sha256 = "1928lwrw1v1p9s23kix30ncpqm8djmrnjixj82f3ni2a8sc3hrsp";
|
sha256 = "1bibabhlsvf6qsjjkgxcpq3cvl1z7r8yfcgqbhbvsiv69n3gyfk3";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl polyml z3 ]
|
buildInputs = [ perl polyml z3 ]
|
||||||
@ -42,14 +42,14 @@ stdenv.mkDerivation rec {
|
|||||||
ML_SOURCES="\$POLYML_HOME/src"
|
ML_SOURCES="\$POLYML_HOME/src"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat >contrib/jdk/etc/settings <<EOF
|
cat >contrib/jdk*/etc/settings <<EOF
|
||||||
ISABELLE_JAVA_PLATFORM=${stdenv.system}
|
ISABELLE_JAVA_PLATFORM=${stdenv.system}
|
||||||
ISABELLE_JDK_HOME=${java}
|
ISABELLE_JDK_HOME=${java}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo ISABELLE_LINE_EDITOR=${rlwrap}/bin/rlwrap >>etc/settings
|
echo ISABELLE_LINE_EDITOR=${rlwrap}/bin/rlwrap >>etc/settings
|
||||||
|
|
||||||
for comp in contrib/jdk contrib/polyml-* contrib/z3-*; do
|
for comp in contrib/jdk* contrib/polyml-* contrib/z3-*; do
|
||||||
rm -rf $comp/x86*
|
rm -rf $comp/x86*
|
||||||
done
|
done
|
||||||
'' + (if ! stdenv.isLinux then "" else ''
|
'' + (if ! stdenv.isLinux then "" else ''
|
||||||
@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
|
|||||||
bin/isabelle install $out/bin
|
bin/isabelle install $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A generic proof assistant";
|
description = "A generic proof assistant";
|
||||||
|
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
@ -74,9 +74,9 @@ stdenv.mkDerivation rec {
|
|||||||
to be expressed in a formal language and provides tools for proving those
|
to be expressed in a formal language and provides tools for proving those
|
||||||
formulas in a logical calculus.
|
formulas in a logical calculus.
|
||||||
'';
|
'';
|
||||||
homepage = "http://isabelle.in.tum.de/";
|
homepage = "https://isabelle.in.tum.de/";
|
||||||
license = "LGPL";
|
license = licenses.bsd3;
|
||||||
maintainers = [ stdenv.lib.maintainers.jwiegley ];
|
maintainers = [ maintainers.jwiegley ];
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -25827,11 +25827,11 @@ in
|
|||||||
ifstat-legacy = callPackage ../tools/networking/ifstat-legacy { };
|
ifstat-legacy = callPackage ../tools/networking/ifstat-legacy { };
|
||||||
|
|
||||||
isabelle = callPackage ../applications/science/logic/isabelle {
|
isabelle = callPackage ../applications/science/logic/isabelle {
|
||||||
polyml = stdenv.lib.overrideDerivation polyml57 (attrs: {
|
polyml = stdenv.lib.overrideDerivation polyml (attrs: {
|
||||||
configureFlags = [ "--enable-intinf-as-int" "--with-gmp" "--disable-shared" ];
|
configureFlags = [ "--enable-intinf-as-int" "--with-gmp" "--disable-shared" ];
|
||||||
});
|
});
|
||||||
|
|
||||||
java = if stdenv.isLinux then jre else jdk;
|
java = openjdk11;
|
||||||
};
|
};
|
||||||
|
|
||||||
iprover = callPackage ../applications/science/logic/iprover { };
|
iprover = callPackage ../applications/science/logic/iprover { };
|
||||||
|
Loading…
Reference in New Issue
Block a user