2015-10-03 23:23:11 +02:00
|
|
|
{ stdenv, fetchurl, boost, emacs, gmp, makeWrapper
|
|
|
|
, tcl-8_5, tk-8_5
|
|
|
|
}:
|
2014-11-11 07:21:43 +01:00
|
|
|
|
2014-10-11 21:05:46 +02:00
|
|
|
let
|
2015-10-03 23:23:11 +02:00
|
|
|
|
2014-10-11 21:05:46 +02:00
|
|
|
version = "2.0.0";
|
2015-10-03 23:23:11 +02:00
|
|
|
|
|
|
|
in stdenv.mkDerivation {
|
2014-11-09 17:19:13 +01:00
|
|
|
name = "mozart-binary-${version}";
|
2014-10-11 21:05:46 +02:00
|
|
|
|
2009-12-29 15:57:01 +01:00
|
|
|
src = fetchurl {
|
2016-08-20 15:30:03 +02:00
|
|
|
url = "mirror://sourceforge/project/mozart-oz/v${version}-alpha.0/mozart2-${version}-alpha.0+build.4105.5c06ced-x86_64-linux.tar.gz";
|
2014-10-11 21:05:46 +02:00
|
|
|
sha256 = "0rsfrjimjxqbwprpzzlmydl3z3aiwg5qkb052jixdxjyad7gyh5z";
|
2009-12-29 15:57:01 +01:00
|
|
|
};
|
|
|
|
|
2014-10-11 21:05:46 +02:00
|
|
|
libPath = stdenv.lib.makeLibraryPath
|
2015-10-03 23:23:11 +02:00
|
|
|
[ stdenv.cc.cc
|
|
|
|
boost
|
|
|
|
emacs
|
|
|
|
gmp
|
|
|
|
tcl-8_5
|
|
|
|
tk-8_5
|
|
|
|
];
|
|
|
|
|
|
|
|
TK_LIBRARY = "${tk-8_5}/lib/tk8.5";
|
2014-10-11 21:05:46 +02:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
2009-12-29 15:57:01 +01:00
|
|
|
|
2014-10-11 21:05:46 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://www.mozart-oz.org/";
|
2014-11-13 14:50:49 +01:00
|
|
|
description = "Multiplatform implementation of the Oz programming language";
|
|
|
|
longDescription = ''
|
|
|
|
The Mozart Programming System combines ongoing research in
|
|
|
|
programming language design and implementation, constraint logic
|
|
|
|
programming, distributed computing, and human-computer
|
|
|
|
interfaces. Mozart implements the Oz language and provides both
|
|
|
|
expressive power and advanced functionality.
|
|
|
|
'';
|
2014-10-11 21:05:46 +02:00
|
|
|
license = licenses.mit;
|
2014-11-13 14:50:49 +01:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2014-10-11 21:05:46 +02:00
|
|
|
};
|
2009-12-29 15:57:01 +01:00
|
|
|
}
|