2015-09-30 07:33:46 +00:00
|
|
|
{stdenv, fetchurl, autoreconfHook}:
|
2009-12-10 13:16:06 +00:00
|
|
|
|
2014-01-15 14:58:27 +00:00
|
|
|
let
|
2016-02-23 13:19:04 +00:00
|
|
|
version = "5.6";
|
2014-01-15 14:58:27 +00:00
|
|
|
in
|
|
|
|
|
2009-12-10 13:16:06 +00:00
|
|
|
stdenv.mkDerivation {
|
2014-01-15 14:58:27 +00:00
|
|
|
name = "polyml-${version}";
|
2009-12-10 13:16:06 +00:00
|
|
|
|
2015-09-30 07:33:46 +00:00
|
|
|
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
|
|
|
substituteInPlace configure.ac --replace stdc++ c++
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;
|
|
|
|
|
2009-12-10 13:16:06 +00:00
|
|
|
src = fetchurl {
|
2014-01-15 14:58:27 +00:00
|
|
|
url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz";
|
2016-02-23 13:19:04 +00:00
|
|
|
sha256 = "05d6l2a5m9jf32a8kahwg2p2ph4x9rjf1nsl83331q3gwn5bkmr0";
|
2009-12-10 13:16:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Standard ML compiler and interpreter";
|
|
|
|
longDescription = ''
|
|
|
|
Poly/ML is a full implementation of Standard ML.
|
|
|
|
'';
|
|
|
|
homepage = http://www.polyml.org/;
|
2012-09-06 16:46:54 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2011-05-13 15:55:05 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
maintainers = [ #Add your name here!
|
|
|
|
stdenv.lib.maintainers.z77z
|
|
|
|
];
|
2009-12-10 13:16:06 +00:00
|
|
|
};
|
|
|
|
}
|