summaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/avian/default.nix
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
committerRobin Gloster <mail@glob.in>2021-05-24 09:55:24 -0500
commit4bc5fbef9d159e143fb7e2c3231932e6e76f667c (patch)
treee2198f5c552e0667d838b8ec764ddb3a4d8f6dec /pkgs/development/compilers/avian/default.nix
parentjq: fix build with structured-attrs on darwin (diff)
parentMerge pull request #123802 from superherointj/package-virtmanager-bugfix (diff)
downloadnixpkgs-origin/structured-attrs.tar.gz
Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs
Diffstat (limited to 'pkgs/development/compilers/avian/default.nix')
-rw-r--r--pkgs/development/compilers/avian/default.nix43
1 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/development/compilers/avian/default.nix b/pkgs/development/compilers/avian/default.nix
deleted file mode 100644
index dcd2db2ccf72..000000000000
--- a/pkgs/development/compilers/avian/default.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, zlib, jdk, CoreServices, Foundation }:
-
-stdenv.mkDerivation rec {
- pname = "avian";
- version = "1.2.0";
-
- src = fetchFromGitHub {
- owner = "readytalk";
- repo = "avian";
- rev = "v${version}";
- sha256 = "1j2y45cpqk3x6a743mgpg7z3ivwm7qc9jy6xirvay7ah1qyxmm48";
- };
-
- buildInputs = [ zlib jdk ]
- ++ lib.optionals stdenv.isDarwin [ CoreServices Foundation ];
-
- env.NIX_CFLAGS_COMPILE = "-Wno-error";
-
- postPatch = ''
- substituteInPlace makefile \
- --replace 'g++' 'c++' \
- --replace 'gcc' 'cc'
- '';
-
- 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 = lib.licenses.isc;
- platforms = lib.platforms.all;
- maintainers = [ lib.maintainers.earldouglas ];
- };
-}