2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, guile
|
|
|
|
, guile-fibers
|
|
|
|
, guile-gcrypt
|
2024-02-07 01:22:34 +00:00
|
|
|
, guile-gnutls
|
2023-10-09 19:29:22 +00:00
|
|
|
, texinfo
|
|
|
|
, pkg-config
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "guile-goblins";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.13.0";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://spritely.institute/files/releases/guile-goblins/guile-goblins-${version}.tar.gz";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-efmyOtPAz1ZPdMCuVaGALR6e0lg7gcjt81BUMBVUKug=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [ guile pkg-config texinfo ];
|
2024-02-07 01:22:34 +00:00
|
|
|
buildInputs = [ guile guile-fibers guile-gcrypt guile-gnutls ];
|
2023-10-09 19:29:22 +00:00
|
|
|
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
|
|
|
|
|
|
|
# tests hang on darwin, and fail randomly on aarch64-linux on ofborg
|
2024-09-26 11:04:55 +00:00
|
|
|
doCheck = !stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isAarch64;
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Spritely Goblins for Guile";
|
|
|
|
homepage = "https://spritely.institute/goblins/";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ offsetcyan ];
|
|
|
|
platforms = guile.meta.platforms;
|
|
|
|
};
|
|
|
|
}
|