git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #16100 from vrthra/unicon

unicon: init at 11.7

commitdf5a43929ffd663cc3209ee5c2d338295bb44379 authorJoachim Fasting <joachifm@users.noreply.github.com> dateWed 15 Jun 2016, 20:29 (10 years ago) parent605c08db89d4a3
2 files changed+44
pkgs/development/interpreters/unicon-lang/default.nix+42 pkgs/top-level/all-packages.nix+2
pkgs/development/interpreters/unicon-lang/default.nixnew file+42
@@ -0,0 +1,42 @@
1+{ stdenv, fetchurl, unzip, gdbm, libX11, libXt }:
2+
3+stdenv.mkDerivation rec {
4+ name = "unicon-lang-${version}";
5+ version = "11.7";
6+ src = fetchurl {
7+ url = "http://unicon.org/dist/uni-2-4-2010.zip";
8+ sha256 = "1g9l2dfp99dqih2ir2limqfjgagh3v9aqly6x0l3qavx3qkkwf61";
9+ };
10+ buildInputs = [ libX11 libXt unzip ];
11+
12+ sourceRoot = ".";
13+
14+ configurePhase = ''
15+ case "$(uname -a | sed 's/ /_/g')" in
16+ Darwin*Version_9*i386) sys=intel_macos;;
17+ Linux*x86_64*) sys=amd64_linux;;
18+ Linux*i686*) sys=intel_linux;;
19+ *) sys=unknown;;
20+ esac
21+ echo "all: ; echo" > uni/3d/makefile
22+ make X-Configure name=$sys
23+ '';
24+
25+ buildPhase = ''
26+ make Unicon
27+ '';
28+
29+ installPhase = ''
30+ mkdir -p $out/
31+ cp -r bin $out/
32+ '';
33+
34+ meta = with stdenv.lib; {
35+ description = ''A very high level, goal-directed, object-oriented, general purpose applications language'';
36+ maintainers = with maintainers; [ vrthra ];
37+ platforms = platforms.linux;
38+ license = licenses.gpl2;
39+ homepage = http://unicon.org;
40+ };
41+}
42+
pkgs/top-level/all-packages.nix+2
@@ -9239,6 +9239,8 @@ in
92399239
92409240 unicap = callPackage ../development/libraries/unicap {};
92419241
9242+ unicon-lang = callPackage ../development/interpreters/unicon-lang {};
9243+
92429244 tsocks = callPackage ../development/libraries/tsocks { };
92439245
92449246 unixODBC = callPackage ../development/libraries/unixODBC { };