summary refs log tree commit diff
path: root/pkgs/development/interpreters/unicon-lang
diff options
context:
space:
mode:
authorRahul Gopinath <gopinath@eecs.oregonstate.edu>2016-06-09 13:32:44 -0700
committerRahul Gopinath <gopinath@eecs.oregonstate.edu>2016-06-09 13:32:44 -0700
commitb89d4a3a61fe4a7d70c18336e18411da1bdc5b84 (patch)
treec8aa605c30635e5a32254538ec8bb0bae4e2e10a /pkgs/development/interpreters/unicon-lang
parent04ad2ebfb28756c823b3070499740bd3e9cb147f (diff)
downloadnixlib-b89d4a3a61fe4a7d70c18336e18411da1bdc5b84.tar
nixlib-b89d4a3a61fe4a7d70c18336e18411da1bdc5b84.tar.gz
nixlib-b89d4a3a61fe4a7d70c18336e18411da1bdc5b84.tar.bz2
nixlib-b89d4a3a61fe4a7d70c18336e18411da1bdc5b84.tar.lz
nixlib-b89d4a3a61fe4a7d70c18336e18411da1bdc5b84.tar.xz
nixlib-b89d4a3a61fe4a7d70c18336e18411da1bdc5b84.tar.zst
nixlib-b89d4a3a61fe4a7d70c18336e18411da1bdc5b84.zip
unicon: init at 11.7
Unicon is a very high level goal-directed, object-oriented, general purpose
applications language
Diffstat (limited to 'pkgs/development/interpreters/unicon-lang')
-rw-r--r--pkgs/development/interpreters/unicon-lang/default.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/unicon-lang/default.nix b/pkgs/development/interpreters/unicon-lang/default.nix
new file mode 100644
index 000000000000..7487aa633131
--- /dev/null
+++ b/pkgs/development/interpreters/unicon-lang/default.nix
@@ -0,0 +1,42 @@
+{ stdenv, fetchurl, unzip, gdbm, libX11, libXt }:
+
+stdenv.mkDerivation rec {
+  name = "unicon-lang-${version}";
+  version = "11.7";
+  src = fetchurl {
+    url = "http://unicon.org/dist/uni-2-4-2010.zip";
+    sha256 = "1g9l2dfp99dqih2ir2limqfjgagh3v9aqly6x0l3qavx3qkkwf61";
+  };
+  buildInputs = [ libX11 libXt unzip ];
+
+  sourceRoot = ".";
+
+  configurePhase = ''
+    case "$(uname -a | sed 's/ /_/g')" in
+    Darwin*Version_9*i386) sys=intel_macos;;
+    Linux*x86_64*) sys=amd64_linux;;
+    Linux*i686*) sys=intel_linux;;
+    *) sys=unknown;;
+    esac
+    echo "all: ; echo" >  uni/3d/makefile
+    make X-Configure name=$sys
+  '';
+
+  buildPhase = ''
+    make Unicon
+  '';
+
+  installPhase = ''
+    mkdir -p $out/
+    cp -r bin $out/
+  '';
+
+  meta = with stdenv.lib; {
+    description = ''A very high level, goal-directed, object-oriented, general purpose applications language'';
+    maintainers = with maintainers; [ vrthra ];
+    platforms = platforms.linux;
+    license = licenses.gpl2;
+    homepage = http://unicon.org;
+  };
+}
+