git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #63370 from yrashk/picolisp-httpGate

picolisp: include httpGate tool

commitfd12b57a2d9bc0608da3fd0fa2372c9c67581c1e authorMichael Raskin <7c6f434c@mail.ru> dateMon 17 Jun 2019, 20:21 (7 years ago) parenta7d85f50e6843b
1 file changed+6−2
pkgs/development/interpreters/picolisp/default.nix+6−2
pkgs/development/interpreters/picolisp/default.nix+6−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, jdk, w3m, makeWrapper }:
1+{ stdenv, fetchurl, jdk, w3m, openssl, makeWrapper }:
22with stdenv.lib;
33
44stdenv.mkDerivation rec {
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
88 url = "https://www.software-lab.de/${name}.tgz";
99 sha256 = "0hvgq2vc03bki528jqn95xmvv7mw8xx832spfczhxc16wwbrnrhk";
1010 };
11− buildInputs = [makeWrapper] ++ optional stdenv.is64bit jdk;
11+ buildInputs = [makeWrapper openssl] ++ optional stdenv.is64bit jdk;
1212 patchPhase = ''
1313 sed -i "s/which java/command -v java/g" mkAsm
1414
@@ -23,6 +23,9 @@ stdenv.mkDerivation rec {
2323 ''}
2424 '';
2525 sourceRoot = ''picoLisp/src${optionalString stdenv.is64bit "64"}'';
26+ postBuild = ''
27+ cd ../src; make gate
28+ '';
2629 installPhase = ''
2730 cd ..
2831
@@ -30,6 +33,7 @@ stdenv.mkDerivation rec {
3033 cp -r . "$out/share/picolisp/build-dir"
3134 ln -s "$out/share/picolisp/build-dir" "$out/lib/picolisp"
3235 ln -s "$out/lib/picolisp/bin/picolisp" "$out/bin/picolisp"
36+ ln -s "$out/lib/picolisp/bin/httpGate" "$out/bin/httpGate"
3337
3438
3539 makeWrapper $out/bin/picolisp $out/bin/pil \