depot/third_party/nixpkgs/pkgs/by-name/gu/guile-goblins/package.nix
Default email 60f07311b9 Project import generated by Copybara.
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
2024-02-06 17:22:34 -08:00

35 lines
928 B
Nix

{ lib
, stdenv
, fetchurl
, guile
, guile-fibers
, guile-gcrypt
, guile-gnutls
, texinfo
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "guile-goblins";
version = "0.12.0";
src = fetchurl {
url = "https://spritely.institute/files/releases/guile-goblins/guile-goblins-${version}.tar.gz";
hash = "sha256-P5WKKv5i5Lrs4en+IWL40AkYAD+bgTyFdsQqE4FxPfA=";
};
strictDeps = true;
nativeBuildInputs = [ guile pkg-config texinfo ];
buildInputs = [ guile guile-fibers guile-gcrypt guile-gnutls ];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
# tests hang on darwin, and fail randomly on aarch64-linux on ofborg
doCheck = !stdenv.isDarwin && !stdenv.isAarch64;
meta = with lib; {
description = "Spritely Goblins for Guile";
homepage = "https://spritely.institute/goblins/";
license = licenses.asl20;
maintainers = with maintainers; [ offsetcyan ];
platforms = guile.meta.platforms;
};
}