summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2021-09-30 14:50:05 +0200
committersternenseemann <sternenseemann@systemli.org>2021-09-30 14:59:00 +0200
commit6fd63365fc48f27e3cf355f5d5c097a8af77d34f (patch)
treef9ec4f0c5eddc267c5e3dd9f3b89e9b328e96319
parent5086684eadd9577b374522a767368fb6b1dd2f1d (diff)
downloadnixpkgs-6fd63365fc48f27e3cf355f5d5c097a8af77d34f.tar
nixpkgs-6fd63365fc48f27e3cf355f5d5c097a8af77d34f.tar.gz
nixpkgs-6fd63365fc48f27e3cf355f5d5c097a8af77d34f.tar.bz2
nixpkgs-6fd63365fc48f27e3cf355f5d5c097a8af77d34f.tar.lz
nixpkgs-6fd63365fc48f27e3cf355f5d5c097a8af77d34f.tar.xz
nixpkgs-6fd63365fc48f27e3cf355f5d5c097a8af77d34f.tar.zst
nixpkgs-6fd63365fc48f27e3cf355f5d5c097a8af77d34f.zip
koka: 2.1.9 -> 2.3.1
-rw-r--r--pkgs/development/compilers/koka/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/compilers/koka/default.nix b/pkgs/development/compilers/koka/default.nix
index 0b88bc1ab1c..26c855e4ddb 100644
--- a/pkgs/development/compilers/koka/default.nix
+++ b/pkgs/development/compilers/koka/default.nix
@@ -1,15 +1,15 @@
 { stdenv, pkgsHostTarget, cmake, makeWrapper, mkDerivation, fetchFromGitHub
 , alex, array, base, bytestring, cond, containers, directory, extra
-, filepath, haskeline, hpack, hspec, hspec-core, json, lib, mtl
+, filepath, hpack, hspec, hspec-core, isocline, json, lib, mtl
 , parsec, process, regex-compat, text, time }:
 
 let
-  version = "2.1.9";
+  version = "2.3.1";
   src = fetchFromGitHub {
     owner = "koka-lang";
     repo = "koka";
     rev = "v${version}";
-    sha256 = "0xny4x1a2lzwgmng60bni7rxfjx5ns70qbfp703qwms54clvj5wy";
+    sha256 = "18f4hsqgc6c0cnayabj311n438fjhf217j1kjaysa8w4k4pxl58z";
     fetchSubmodules = true;
   };
   kklib = stdenv.mkDerivation {
@@ -33,14 +33,13 @@ mkDerivation rec {
   isExecutable = true;
   libraryToolDepends = [ hpack ];
   executableHaskellDepends = [
-    array base bytestring cond containers directory haskeline mtl
+    array base bytestring cond containers directory isocline mtl
     parsec process text time kklib
   ];
   executableToolDepends = [ alex makeWrapper ];
   postInstall = ''
     mkdir -p $out/share/koka/v${version}
     cp -a lib $out/share/koka/v${version}
-    cp -a contrib $out/share/koka/v${version}
     cp -a kklib $out/share/koka/v${version}
     wrapProgram "$out/bin/koka" \
       --set CC "${lib.getBin cc}/bin/${cc.targetPrefix}cc" \
@@ -50,6 +49,7 @@ mkDerivation rec {
   prePatch = "hpack";
   description = "Koka language compiler and interpreter";
   homepage = "https://github.com/koka-lang/koka";
+  changelog = "${homepage}/blob/master/doc/spec/news.mdk";
   license = lib.licenses.asl20;
   maintainers = with lib.maintainers; [ siraben sternenseemann ];
 }