nixpkgs/pkgs/development/lisp-modules/quicklisp-to-nix-output/cffi.nix

22 lines
616 B
Nix

args @ { fetchurl, ... }:
rec {
baseName = ''cffi'';
version = ''cffi_0.18.0'';
description = ''The Common Foreign Function Interface'';
deps = [ args."alexandria" args."babel" args."trivial-features" args."uiop" ];
src = fetchurl {
url = ''http://beta.quicklisp.org/archive/cffi/2016-10-31/cffi_0.18.0.tgz'';
sha256 = ''0g4clx9l9c7iw9hiv94ihzp4zb80yq3i5j6lr3vkz9z2dndzcpzz'';
};
overrides = x: {
postInstall = ''
echo "$CL_SOURCE_REGISTRY"
NIX_LISP_PRELAUNCH_HOOK='nix_lisp_run_single_form "(asdf:load-system :cffi)"' "$out/bin/cffi-lisp-launcher.sh" ""
'';
};
}