Skip to content

Commit

Permalink
avian: init at 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
earldouglas committed Jun 4, 2016
1 parent c544cbc commit 64e7271
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/development/compilers/avian/default.nix
@@ -0,0 +1,36 @@
{ stdenv, fetchFromGitHub, zlib, jdk }:

stdenv.mkDerivation rec {
name = "avian-${version}";
version = "1.2.0";

src = fetchFromGitHub {
owner = "readytalk";
repo = "avian";
rev = "v${version}";
sha256 = "1j2y45cpqk3x6a743mgpg7z3ivwm7qc9jy6xirvay7ah1qyxmm48";
};

buildInputs = [
zlib
jdk
];

installPhase = ''
mkdir -p $out/bin
cp build/*/avian $out/bin/
cp build/*/avian-dynamic $out/bin/
'';

meta = {
description = "Lightweight Java virtual machine";
longDescription = ''
Avian is a lightweight virtual machine and class library designed
to provide a useful subset of Java’s features, suitable for
building self-contained applications.
'';
homepage = https://readytalk.github.io/avian/;
license = stdenv.lib.licenses.isc;
platforms = stdenv.lib.platforms.all;
};
}
4 changes: 4 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -4107,6 +4107,10 @@ in

avra = callPackage ../development/compilers/avra { };

avian = callPackage ../development/compilers/avian {
stdenv = overrideCC stdenv gcc49;
};

bigloo = callPackage ../development/compilers/bigloo {
stdenv = overrideCC stdenv gcc49;
};
Expand Down

0 comments on commit 64e7271

Please sign in to comment.