2014-10-11 19:05:46 +00:00
|
|
|
{ stdenv, fetchurl, bash, makeWrapper, coreutils, emacs, tcl, tk, boost, gmp, cacert }:
|
2009-12-29 14:57:01 +00:00
|
|
|
|
2014-11-11 06:21:43 +00:00
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
2014-10-11 19:05:46 +00:00
|
|
|
let
|
|
|
|
version = "2.0.0";
|
|
|
|
in
|
2009-12-29 14:57:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2014-11-09 16:19:13 +00:00
|
|
|
name = "mozart-binary-${version}";
|
2014-10-11 19:05:46 +00:00
|
|
|
|
2009-12-29 14:57:01 +00:00
|
|
|
src = fetchurl {
|
2014-10-11 19:05:46 +00:00
|
|
|
url = "http://sourceforge.net/projects/mozart-oz/files/v${version}-alpha.0/mozart2-${version}-alpha.0+build.4105.5c06ced-x86_64-linux.tar.gz";
|
|
|
|
sha256 = "0rsfrjimjxqbwprpzzlmydl3z3aiwg5qkb052jixdxjyad7gyh5z";
|
2009-12-29 14:57:01 +00:00
|
|
|
};
|
|
|
|
|
2014-10-11 19:05:46 +00:00
|
|
|
libPath = stdenv.lib.makeLibraryPath
|
|
|
|
[stdenv.gcc.gcc emacs tk tcl boost gmp];
|
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
2009-12-29 14:57:01 +00:00
|
|
|
|
2014-10-11 19:05:46 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "http://www.mozart-oz.org/";
|
|
|
|
description = "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.";
|
|
|
|
|
|
|
|
license = licenses.mit;
|
2014-11-11 10:57:00 +00:00
|
|
|
platforms = ["x86_64-linux"];
|
2014-10-11 19:05:46 +00:00
|
|
|
};
|
2009-12-29 14:57:01 +00:00
|
|
|
}
|