trealla: 2.23.48 -> 2.24.0

- Set line editing library to isocline by default
- Set passthru.updateScript
This commit is contained in:
Anderson Torres
2023-08-19 21:03:17 -03:00
parent 2393e9d763
commit 25575ae935
@@ -6,23 +6,24 @@
, readline
, valgrind
, xxd
, gitUpdater
, checkLeaks ? false
, enableFFI ? true
, enableSSL ? true
, enableThreads ? true
, lineEditingLibrary ? "readline"
, lineEditingLibrary ? "isocline"
}:
assert lib.elem lineEditingLibrary [ "isocline" "readline" ];
stdenv.mkDerivation (finalAttrs: {
pname = "trealla";
version = "2.23.48";
version = "2.24.0";
src = fetchFromGitHub {
owner = "trealla-prolog";
repo = "trealla";
rev = "v${finalAttrs.version}";
hash = "sha256-uL8nRVzb/PxrVvIQYRUkePTZIM8DBnc8eAU/2yfDNuQ=";
hash = "sha256-2VjghmQuOkPW335ryIZRSdOnYYhdJDacJ97TCizcVJ0=";
};
postPatch = ''
@@ -67,6 +68,8 @@ stdenv.mkDerivation (finalAttrs: {
"test"
] ++ lib.optional checkLeaks "leaks";
passthru.updateScript = gitUpdater { };
meta = {
homepage = "https://trealla-prolog.github.io/trealla/";
description = "A compact, efficient Prolog interpreter written in ANSI C";