Merge pull request #63370 from yrashk/picolisp-httpGate
picolisp: include httpGate tool
This commit is contained in:
commit
fd12b57a2d
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, jdk, w3m, makeWrapper }:
|
{ stdenv, fetchurl, jdk, w3m, openssl, makeWrapper }:
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://www.software-lab.de/${name}.tgz";
|
url = "https://www.software-lab.de/${name}.tgz";
|
||||||
sha256 = "0hvgq2vc03bki528jqn95xmvv7mw8xx832spfczhxc16wwbrnrhk";
|
sha256 = "0hvgq2vc03bki528jqn95xmvv7mw8xx832spfczhxc16wwbrnrhk";
|
||||||
};
|
};
|
||||||
buildInputs = [makeWrapper] ++ optional stdenv.is64bit jdk;
|
buildInputs = [makeWrapper openssl] ++ optional stdenv.is64bit jdk;
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i "s/which java/command -v java/g" mkAsm
|
sed -i "s/which java/command -v java/g" mkAsm
|
||||||
|
|
||||||
@ -23,6 +23,9 @@ stdenv.mkDerivation rec {
|
|||||||
''}
|
''}
|
||||||
'';
|
'';
|
||||||
sourceRoot = ''picoLisp/src${optionalString stdenv.is64bit "64"}'';
|
sourceRoot = ''picoLisp/src${optionalString stdenv.is64bit "64"}'';
|
||||||
|
postBuild = ''
|
||||||
|
cd ../src; make gate
|
||||||
|
'';
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
@ -30,6 +33,7 @@ stdenv.mkDerivation rec {
|
|||||||
cp -r . "$out/share/picolisp/build-dir"
|
cp -r . "$out/share/picolisp/build-dir"
|
||||||
ln -s "$out/share/picolisp/build-dir" "$out/lib/picolisp"
|
ln -s "$out/share/picolisp/build-dir" "$out/lib/picolisp"
|
||||||
ln -s "$out/lib/picolisp/bin/picolisp" "$out/bin/picolisp"
|
ln -s "$out/lib/picolisp/bin/picolisp" "$out/bin/picolisp"
|
||||||
|
ln -s "$out/lib/picolisp/bin/httpGate" "$out/bin/httpGate"
|
||||||
|
|
||||||
|
|
||||||
makeWrapper $out/bin/picolisp $out/bin/pil \
|
makeWrapper $out/bin/picolisp $out/bin/pil \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user