summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/trealla/default.nix
diff options
context:
space:
mode:
authorAnderson Torres <torres.anderson.85@protonmail.com>2023-08-19 21:00:31 -0300
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-08-19 21:03:17 -0300
commit25575ae935c01e883fe77b716fe4ad0ca58c1927 (patch)
tree7f597a158f23ab516215590191d12087c72d2572 /pkgs/development/interpreters/trealla/default.nix
parent2393e9d763cb0a0c5ee0241d6c052b147c29c4b2 (diff)
trealla: 2.23.48 -> 2.24.0
- Set line editing library to isocline by default - Set passthru.updateScript
Diffstat (limited to 'pkgs/development/interpreters/trealla/default.nix')
-rw-r--r--pkgs/development/interpreters/trealla/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/interpreters/trealla/default.nix b/pkgs/development/interpreters/trealla/default.nix
index 336960860597..05ac612d9774 100644
--- a/pkgs/development/interpreters/trealla/default.nix
+++ b/pkgs/development/interpreters/trealla/default.nix
@@ -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";