diff options
author | Gabriel Ebner <gebner@gebner.org> | 2017-08-07 17:21:08 +0200 |
---|---|---|
committer | Gabriel Ebner <gebner@gebner.org> | 2017-08-07 17:21:08 +0200 |
commit | 795c00335989c3721895dd170eb26cf2d3d70e56 (patch) | |
tree | f57d21d4e0aff5c87f2d0c46d3ef24a68904dd0c /pkgs/development/compilers/polyml | |
parent | 339330b32290d284dbf201e4b31ee35cee1ae1a5 (diff) | |
download | nixlib-795c00335989c3721895dd170eb26cf2d3d70e56.tar nixlib-795c00335989c3721895dd170eb26cf2d3d70e56.tar.gz nixlib-795c00335989c3721895dd170eb26cf2d3d70e56.tar.bz2 nixlib-795c00335989c3721895dd170eb26cf2d3d70e56.tar.lz nixlib-795c00335989c3721895dd170eb26cf2d3d70e56.tar.xz nixlib-795c00335989c3721895dd170eb26cf2d3d70e56.tar.zst nixlib-795c00335989c3721895dd170eb26cf2d3d70e56.zip |
isabelle: use polyml 5.6
Isabelle 2016 does not work with newer PolyML versions.
Diffstat (limited to 'pkgs/development/compilers/polyml')
-rw-r--r-- | pkgs/development/compilers/polyml/5.6.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/compilers/polyml/5.6.nix b/pkgs/development/compilers/polyml/5.6.nix new file mode 100644 index 000000000000..8b5d14e7f5fb --- /dev/null +++ b/pkgs/development/compilers/polyml/5.6.nix @@ -0,0 +1,33 @@ +{stdenv, fetchurl, autoreconfHook}: + +let + version = "5.6"; +in + +stdenv.mkDerivation { + name = "polyml-${version}"; + + prePatch = stdenv.lib.optionalString stdenv.isDarwin '' + substituteInPlace configure.ac --replace stdc++ c++ + ''; + + buildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook; + + src = fetchurl { + url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz"; + sha256 = "05d6l2a5m9jf32a8kahwg2p2ph4x9rjf1nsl83331q3gwn5bkmr0"; + }; + + meta = { + description = "Standard ML compiler and interpreter"; + longDescription = '' + Poly/ML is a full implementation of Standard ML. + ''; + homepage = http://www.polyml.org/; + license = stdenv.lib.licenses.lgpl21; + platforms = with stdenv.lib.platforms; linux; + maintainers = [ #Add your name here! + stdenv.lib.maintainers.z77z + ]; + }; +} |