summary refs log tree commit diff
path: root/pkgs/development/compilers/mozart/binary.nix
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2014-11-09 19:19:13 +0300
committerMichael Raskin <7c6f434c@mail.ru>2014-11-09 19:26:55 +0300
commitb6203b804bc3bf10178cf7d35b1e4e9adbb7c304 (patch)
treee28c0566c53fc25ece6561e47b485ad4a1d12e67 /pkgs/development/compilers/mozart/binary.nix
parent076677d0bf7e17e7467bb4a6be524b9452fb5cb2 (diff)
downloadnixpkgs-b6203b804bc3bf10178cf7d35b1e4e9adbb7c304.tar
nixpkgs-b6203b804bc3bf10178cf7d35b1e4e9adbb7c304.tar.gz
nixpkgs-b6203b804bc3bf10178cf7d35b1e4e9adbb7c304.tar.bz2
nixpkgs-b6203b804bc3bf10178cf7d35b1e4e9adbb7c304.tar.lz
nixpkgs-b6203b804bc3bf10178cf7d35b1e4e9adbb7c304.tar.xz
nixpkgs-b6203b804bc3bf10178cf7d35b1e4e9adbb7c304.tar.zst
nixpkgs-b6203b804bc3bf10178cf7d35b1e4e9adbb7c304.zip
Mark binary distribution of Mozart/Oz 2.0 as such
Diffstat (limited to 'pkgs/development/compilers/mozart/binary.nix')
-rw-r--r--pkgs/development/compilers/mozart/binary.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/compilers/mozart/binary.nix b/pkgs/development/compilers/mozart/binary.nix
new file mode 100644
index 00000000000..f8f19e59953
--- /dev/null
+++ b/pkgs/development/compilers/mozart/binary.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl, bash, makeWrapper, coreutils, emacs, tcl, tk, boost, gmp, cacert }:
+
+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.gcc.gcc emacs tk tcl boost gmp];
+
+  builder = ./builder.sh;
+
+  buildInputs = [ makeWrapper ];
+
+  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;
+    platforms = platforms.unix;
+  };
+}