nixpkgs/pkgs/development/compilers/avian/default.nix

38 lines
928 B
Nix
Raw Normal View History

2016-06-02 15:34:35 +01:00
{ 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 Javas features, suitable for
building self-contained applications.
'';
homepage = https://readytalk.github.io/avian/;
license = stdenv.lib.licenses.isc;
platforms = stdenv.lib.platforms.all;
2017-10-22 21:50:43 +01:00
maintainers = [ stdenv.lib.maintainers.earldouglas ];
2016-06-02 15:34:35 +01:00
};
}