3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/mozart/binary.nix
Joachim Fasting c34a52bf5d
mozart: prefer local builds
The build essentially unpacks a tarball and generates
a few wrappers.  No need to use hydra for that.
2017-02-15 01:54:59 +01:00

48 lines
1.2 KiB
Nix

{ stdenv, fetchurl, boost, emacs, gmp, makeWrapper
, tcl-8_5, tk-8_5
}:
let
version = "2.0.0";
in stdenv.mkDerivation {
name = "mozart-binary-${version}";
preferLocalBuild = true;
src = fetchurl {
url = "mirror://sourceforge/project/mozart-oz/v${version}-alpha.0/mozart2-${version}-alpha.0+build.4105.5c06ced-x86_64-linux.tar.gz";
sha256 = "0rsfrjimjxqbwprpzzlmydl3z3aiwg5qkb052jixdxjyad7gyh5z";
};
libPath = stdenv.lib.makeLibraryPath
[ stdenv.cc.cc
boost
emacs
gmp
tcl-8_5
tk-8_5
];
TK_LIBRARY = "${tk-8_5}/lib/tk8.5";
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" ];
};
}