summary refs log blame commit diff
path: root/pkgs/development/compilers/mozart/binary.nix
blob: 9868e8d92c35b0b335993f363835d01bc85e5730 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                                       
 

                      


                    
                     
                                    
 
                  

                                                                                                                                                  

    
                                      
                                           



                                
 

                                           







                                                                                
                           
                                   
    
 
{ stdenv, fetchurl, bash, makeWrapper, coreutils, emacs, tcl, tk, boost, gmp, cacert }:

assert stdenv.isLinux;

let
  version = "2.0.0";
in
stdenv.mkDerivation {
  name = "mozart-binary-${version}";

  src = fetchurl {
    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";
  };

  libPath = stdenv.lib.makeLibraryPath
    [stdenv.cc.gcc emacs tk tcl boost gmp];

  builder = ./builder.sh;

  buildInputs = [ makeWrapper ];

  meta = with stdenv.lib; {
    homepage = "http://www.mozart-oz.org/";
    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.
    '';
    license = licenses.mit;
    platforms = [ "x86_64-linux" ];
  };
}