push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
{
lib,
stdenv,
fetchFromGitHub,
makeWrapper,
}:
stdenv.mkDerivation rec {
version = "0.11";
pname = "chibi-scheme";
src = fetchFromGitHub {
owner = "ashinn";
repo = "chibi-scheme";
rev = version;
sha256 = "sha256-i+xiaYwM7a+0T824VSuh7UUNI6HV9KpqzQPE1WAZ+As=";
};
nativeBuildInputs = [ makeWrapper ];
makeFlags = [
"PREFIX=${placeholder "out"}"
];
fixupPhase = ''
wrapProgram "$out/bin/chibi-scheme" \
--prefix CHIBI_MODULE_PATH : "$out/share/chibi:$out/lib/chibi" \
${lib.optionalString stdenv.hostPlatform.isDarwin "--prefix DYLD_LIBRARY_PATH : $out/lib"}
for f in chibi-doc chibi-ffi snow-chibi; do
substituteInPlace "$out/bin/$f" \
--replace "/usr/bin/env chibi-scheme" "$out/bin/chibi-scheme"
done
'';
meta = {
homepage = "https://github.com/ashinn/chibi-scheme";
description = "Small Footprint Scheme for use as a C Extension Language";
platforms = lib.platforms.all;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [
applePrincess
DerGuteMoritz
];
};
}