clpm: 0.3.5 -> 0.3.6 (#112901)

This commit is contained in:
Petter S. Storvik 2021-02-17 14:28:31 +01:00 committed by GitHub
parent 6408a8f40b
commit 26256141d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib, stdenv { lib
, stdenv
, fetchgit , fetchgit
, wrapLisp , wrapLisp
, sbcl , sbcl
@ -7,13 +8,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "clpm"; pname = "clpm";
version = "0.3.5"; version = "0.3.6";
src = fetchgit { src = fetchgit {
url = "https://gitlab.common-lisp.net/clpm/clpm"; url = "https://gitlab.common-lisp.net/clpm/clpm";
rev = "v${version}"; rev = "v${version}";
fetchSubmodules = true; fetchSubmodules = true;
sha256 = "0jivnnp3z148yf4c2nzzr5whz76w5kjhsb97z2vs5maiwf79y2if"; sha256 = "04w46yhv31p4cfb84b6qvyfw7x5nx6lzyd4yzhd9x6qvb7p5kmfh";
}; };
buildInputs = [ buildInputs = [
@ -22,13 +23,21 @@ stdenv.mkDerivation rec {
]; ];
buildPhase = '' buildPhase = ''
runHook preBuild
ln -s ${openssl.out}/lib/libcrypto.so.* . ln -s ${openssl.out}/lib/libcrypto.so.* .
ln -s ${openssl.out}/lib/libssl.so.* . ln -s ${openssl.out}/lib/libssl.so.* .
common-lisp.sh --script scripts/build.lisp common-lisp.sh --script scripts/build.lisp
runHook postBuild
''; '';
installPhase = '' installPhase = ''
runHook preInstall
INSTALL_ROOT=$out sh install.sh INSTALL_ROOT=$out sh install.sh
runHook postInstall
''; '';
# fixupPhase results in fatal error in SBCL, `Can't find sbcl.core` # fixupPhase results in fatal error in SBCL, `Can't find sbcl.core`