21 lines
699 B
Nix
21 lines
699 B
Nix
{stdenv, fetchzip, zlib, xerces, gnu-classpath, libtool, autoreconfHook}: stdenv.mkDerivation rec {
|
|
pname = "jamvm";
|
|
version = "2.0.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://master.dl.sourceforge.net/project/${pname}/${pname}/JamVM%20${version}/${pname}-${version}.tar.gz";
|
|
hash = "sha256-FSL2x2C3a3RQ88pRokZQ6dbXcgZFbZLiIZ6MfsFY70Y=";
|
|
};
|
|
|
|
patches = [./jamvm.patch];
|
|
|
|
env = {
|
|
ACLOCAL_PATH="${libtool}/share/aclocal";
|
|
};
|
|
|
|
nativeBuildInputs = [autoreconfHook];
|
|
buildInputs = [zlib];
|
|
|
|
configureFlags = ["--with-classpath-install-dir=${gnu-classpath}" "--with-extra-classpath=${xerces}/bin/xercesImpl.jar"/*:${xerces}/bin/serializer.jar"*/];
|
|
}
|