mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
abcl: init at 1.4.0
This commit is contained in:
parent
140643be45
commit
1d0fb40af0
40
pkgs/development/compilers/abcl/default.nix
Normal file
40
pkgs/development/compilers/abcl/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{stdenv, fetchurl, ant, jre, jdk}:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "abcl";
|
||||
version = "1.4.0";
|
||||
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
|
||||
src = fetchurl {
|
||||
url = "https://common-lisp.net/project/armedbear/releases/${version}/${pname}-src-${version}.tar.gz";
|
||||
sha256 = "1y4nixm1459ch6226ikdilcsf91c2rg1d82cqqmcn24kfjl1m62i";
|
||||
};
|
||||
configurePhase = ''
|
||||
mkdir nix-tools
|
||||
export PATH="$PWD/nix-tools:$PATH"
|
||||
echo "echo nix-builder.localdomain" > nix-tools/hostname
|
||||
chmod a+x nix-tools/*
|
||||
|
||||
hostname
|
||||
'';
|
||||
buildPhase = ''
|
||||
ant
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p "$out"/{bin,share/doc/abcl,lib/abcl}
|
||||
cp -r README COPYING CHANGES examples/ "$out/share/doc/abcl/"
|
||||
cp -r dist/*.jar contrib/ "$out/lib/abcl/"
|
||||
|
||||
echo "#! ${stdenv.shell}" >> "$out/bin/abcl"
|
||||
echo "${jre}/bin/java -cp \"$out/lib/abcl/abcl.jar:$out/lib/abcl/abcl-contrib.jar:\$CLASSPATH\" org.armedbear.lisp.Main \"\$@\"" >> "$out/bin/abcl"
|
||||
chmod a+x "$out"/bin/*
|
||||
'';
|
||||
buildInputs = [jre ant jdk jre];
|
||||
meta = {
|
||||
inherit version;
|
||||
description = ''A JVM-based Common Lisp implementation'';
|
||||
license = stdenv.lib.licenses.gpl3 ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
homepage = "https://common-lisp.net/project/armedbear/";
|
||||
};
|
||||
}
|
@ -4533,6 +4533,8 @@ in
|
||||
|
||||
### DEVELOPMENT / COMPILERS
|
||||
|
||||
abcl = callPackage ../development/compilers/abcl {};
|
||||
|
||||
aldor = callPackage ../development/compilers/aldor { };
|
||||
|
||||
aliceml = callPackage ../development/compilers/aliceml { };
|
||||
|
Loading…
Reference in New Issue
Block a user