Unverified Commit fb74a6f8 authored by Arne Keller's avatar Arne Keller Committed by GitHub
Browse files

guile-hoot: init at 0.5.0 (#366103)

parents c6b5248b 0fec56e5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -10792,6 +10792,12 @@
    githubId = 1476865;
    name = "jigglycrumb";
  };
  jinser = {
    name = "Jinser Kafka";
    email = "aimer@purejs.icu";
    github = "jetjinser";
    githubId = 46820840;
  };
  jiriks74 = {
    name = "Jiří Štefka";
    email = "jiri@stefka.eu";
+47 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitLab,
  autoreconfHook,
  guile,
  pkg-config,
  texinfo,
}:

stdenv.mkDerivation rec {
  pname = "guile-hoot";
  version = "0.5.0";

  src = fetchFromGitLab {
    owner = "spritely";
    repo = "guile-hoot";
    rev = "v${version}";
    hash = "sha256-n8u0xK2qDLGySxiYWH882/tkL8ggu3hivHn3qdDO9eI=";
  };

  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;
  };
}