diff options
author | Joachim Fasting <joachifm@users.noreply.github.com> | 2016-06-16 15:35:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-16 15:35:48 +0200 |
commit | e915625ace2a46764a802818d8e22a9166aab7b7 (patch) | |
tree | 697d2d1ae5889b44aabba928b46330e60f5460fe /pkgs/development | |
parent | 5faefd4c0483d4014200d1a7d3cc49285aa17992 (diff) | |
parent | 64e727138a5378a505325c7614b5d4b58adebf1e (diff) | |
download | nixlib-e915625ace2a46764a802818d8e22a9166aab7b7.tar nixlib-e915625ace2a46764a802818d8e22a9166aab7b7.tar.gz nixlib-e915625ace2a46764a802818d8e22a9166aab7b7.tar.bz2 nixlib-e915625ace2a46764a802818d8e22a9166aab7b7.tar.lz nixlib-e915625ace2a46764a802818d8e22a9166aab7b7.tar.xz nixlib-e915625ace2a46764a802818d8e22a9166aab7b7.tar.zst nixlib-e915625ace2a46764a802818d8e22a9166aab7b7.zip |
Merge pull request #15929 from earldouglas/avian
avian: init at 1.2.0
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/compilers/avian/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/compilers/avian/default.nix b/pkgs/development/compilers/avian/default.nix new file mode 100644 index 000000000000..c2a2b93fc0c5 --- /dev/null +++ b/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; + }; +} |