Merge pull request #16100 from vrthra/unicon

unicon: init at 11.7
This commit is contained in:
Joachim Fasting 2016-06-15 20:29:04 +02:00 committed by GitHub
commit df5a43929f
2 changed files with 44 additions and 0 deletions

View File

@ -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;
};
}

View File

@ -9239,6 +9239,8 @@ in
unicap = callPackage ../development/libraries/unicap {};
unicon-lang = callPackage ../development/interpreters/unicon-lang {};
tsocks = callPackage ../development/libraries/tsocks { };
unixODBC = callPackage ../development/libraries/unixODBC { };