2025-01-01 21:09:57 +08:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitLab,
|
|
|
|
autoreconfHook,
|
|
|
|
guile,
|
|
|
|
pkg-config,
|
|
|
|
texinfo,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "guile-hoot";
|
2025-01-23 12:25:55 +08:00
|
|
|
version = "0.6.0";
|
2025-01-01 21:09:57 +08:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "spritely";
|
|
|
|
repo = "guile-hoot";
|
2025-04-08 02:51:45 -04:00
|
|
|
rev = "v${version}";
|
2025-01-23 12:25:55 +08:00
|
|
|
hash = "sha256-xPU4uLyh3gd2ubyGednCqB3uzKrabhXQhs6vBc8z0ps=";
|
2025-01-01 21:09:57 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
guile
|
|
|
|
pkg-config
|
|
|
|
texinfo
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
guile
|
|
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-guile-site-dir=$(out)/${guile.siteDir}"
|
|
|
|
"--with-guile-site-ccache-dir=$(out)/${guile.siteCcacheDir}"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Scheme to WebAssembly compiler backend for GNU Guile and a general purpose WASM toolchain";
|
|
|
|
homepage = "https://gitlab.com/spritely/guile-hoot";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ jinser ];
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
};
|
|
|
|
}
|