at 16.09-beta 45 lines 1.2 kB view raw
1{ stdenv, fetchurl, boost, emacs, gmp, makeWrapper 2, tcl-8_5, tk-8_5 3}: 4 5let 6 7 version = "2.0.0"; 8 9in stdenv.mkDerivation { 10 name = "mozart-binary-${version}"; 11 12 src = fetchurl { 13 url = "mirror://sourceforge/project/mozart-oz/v${version}-alpha.0/mozart2-${version}-alpha.0+build.4105.5c06ced-x86_64-linux.tar.gz"; 14 sha256 = "0rsfrjimjxqbwprpzzlmydl3z3aiwg5qkb052jixdxjyad7gyh5z"; 15 }; 16 17 libPath = stdenv.lib.makeLibraryPath 18 [ stdenv.cc.cc 19 boost 20 emacs 21 gmp 22 tcl-8_5 23 tk-8_5 24 ]; 25 26 TK_LIBRARY = "${tk-8_5}/lib/tk8.5"; 27 28 builder = ./builder.sh; 29 30 buildInputs = [ makeWrapper ]; 31 32 meta = with stdenv.lib; { 33 homepage = "http://www.mozart-oz.org/"; 34 description = "Multiplatform implementation of the Oz programming language"; 35 longDescription = '' 36 The Mozart Programming System combines ongoing research in 37 programming language design and implementation, constraint logic 38 programming, distributed computing, and human-computer 39 interfaces. Mozart implements the Oz language and provides both 40 expressive power and advanced functionality. 41 ''; 42 license = licenses.mit; 43 platforms = [ "x86_64-linux" ]; 44 }; 45}