Unverified Commit 38075bed authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

clasp-common-lisp: 2.6.0 -> 2.7.0 (#388335)

parents dfcc680d 8c9eaf0c
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
{
  lib,
  llvmPackages_15,
  llvmPackages_18,
  fetchzip,
  sbcl,
  pkg-config,
@@ -13,16 +13,16 @@
}:

let
  inherit (llvmPackages_15) stdenv llvm libclang;
  inherit (llvmPackages_18) stdenv llvm libclang;
in

stdenv.mkDerivation rec {
  pname = "clasp";
  version = "2.6.0";
  version = "2.7.0";

  src = fetchzip {
    url = "https://github.com/clasp-developers/clasp/releases/download/${version}/clasp-${version}.tar.gz";
    hash = "sha256-SiQ4RMha6dMV7V2fh+UxtAIgEEH/6/hF9fe+bPtoGIw=";
    hash = "sha256-IoEwsMvY/bbb6K6git+7zRGP0DIJDROt69FBQuzApRk=";
  };

  patches = [
@@ -64,7 +64,14 @@ stdenv.mkDerivation rec {
      --package-path=/ \
      --bin-path=$out/bin \
      --lib-path=$out/lib \
      --share-path=$out/share
      --dylib-path=$out/lib \
      --share-path=$out/share \
      --pkgconfig-path=$out/lib/pkgconfig
  '';

  postInstall = ''
    # --dylib-path not honored. Fix it in post.
    mv $out/libclasp* $out/lib/
  '';

  meta = {