2015-09-30 09:33:46 +02:00
|
|
|
{stdenv, fetchurl, autoreconfHook}:
|
2009-12-10 14:16:06 +01:00
|
|
|
|
2014-01-15 15:58:27 +01:00
|
|
|
let
|
2014-10-01 06:11:26 +02:00
|
|
|
version = "5.5.2";
|
2014-01-15 15:58:27 +01:00
|
|
|
in
|
|
|
|
|
2009-12-10 14:16:06 +01:00
|
|
|
stdenv.mkDerivation {
|
2014-01-15 15:58:27 +01:00
|
|
|
name = "polyml-${version}";
|
2009-12-10 14:16:06 +01:00
|
|
|
|
2015-09-30 09:33:46 +02:00
|
|
|
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
|
|
|
substituteInPlace configure.ac --replace stdc++ c++
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin autoreconfHook;
|
|
|
|
|
2009-12-10 14:16:06 +01:00
|
|
|
src = fetchurl {
|
2014-01-15 15:58:27 +01:00
|
|
|
url = "mirror://sourceforge/polyml/polyml.${version}.tar.gz";
|
2014-10-01 06:11:26 +02:00
|
|
|
sha256 = "10m680qdad6bd50bav9xjsgmsxw8yxg55vr7grbg0gvykzl2pzbk";
|
2009-12-10 14:16:06 +01: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 18:46:54 +02:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2011-05-13 17:55:05 +02:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
maintainers = [ #Add your name here!
|
|
|
|
stdenv.lib.maintainers.z77z
|
|
|
|
];
|
2009-12-10 14:16:06 +01:00
|
|
|
};
|
|
|
|
}
|