koka: 2.4.2 -> 3.0.4

This commit is contained in:
modderme123 2024-01-14 15:52:03 -05:00 committed by sternenseemann
parent 350f3f7b16
commit 6c9f27ab9a

View file

@ -1,15 +1,42 @@
{ stdenv, pkgsHostTarget, cmake, makeWrapper, mkDerivation, fetchFromGitHub
, alex, array, base, bytestring, cond, containers, directory, extra
, filepath, hpack, hspec, hspec-core, isocline, json, lib, mtl
, parsec, process, regex-compat, text, time }:
{ stdenv
, pkgsHostTarget
, cmake
, makeWrapper
, mkDerivation
, fetchFromGitHub
, alex
, lib
, hpack
, aeson
, array
, async
, base
, bytestring
, co-log-core
, cond
, containers
, directory
, FloatingHex
, isocline
, lens
, lsp
, mtl
, network
, network-simple
, parsec
, process
, text
, text-rope
, time
}:
let
version = "2.4.2";
version = "3.0.4";
src = fetchFromGitHub {
owner = "koka-lang";
repo = "koka";
rev = "v${version}";
sha256 = "sha256-sVjaIzOxNuBtDswpDl5gLB10Sw945TQAf2ywrKumqqk=";
sha256 = "sha256-U8BW1Aq9t3je0YDV8NkE0MzdnjwXBJQbmekh5ufOs3k=";
fetchSubmodules = true;
};
kklib = stdenv.mkDerivation {
@ -38,8 +65,28 @@ mkDerivation rec {
isExecutable = true;
libraryToolDepends = [ hpack ];
executableHaskellDepends = [
array base bytestring cond containers directory isocline mtl
parsec process text time kklib
aeson
array
async
base
bytestring
co-log-core
cond
containers
directory
FloatingHex
isocline
lens
lsp
mtl
network
network-simple
parsec
process
text
text-rope
time
kklib
];
executableToolDepends = [ alex makeWrapper ];
postInstall = ''