From 83d358d2a297c321dc732facd0bdb89bd18c9ad2 Mon Sep 17 00:00:00 2001 From: Victor Freire Date: Tue, 29 Aug 2023 13:30:19 -0300 Subject: [PATCH] =?UTF-8?q?lunarml:=20unstable-2023-07-25=20=E2=86=92=20un?= =?UTF-8?q?stable-2023-08-25?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../development/compilers/lunarml/default.nix | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pkgs/development/compilers/lunarml/default.nix b/pkgs/development/compilers/lunarml/default.nix index 16e4997993c1..5d0b952aa36d 100644 --- a/pkgs/development/compilers/lunarml/default.nix +++ b/pkgs/development/compilers/lunarml/default.nix @@ -5,19 +5,16 @@ , lua5_3 }: -let - pname = "lunarml"; -in stdenvNoCC.mkDerivation { - inherit pname; + pname = "lunarml"; - version = "unstable-2023-07-25"; + version = "unstable-2023-08-25"; src = fetchFromGitHub { owner = "minoki"; repo = "LunarML"; - rev = "4a5f9c7d42c6b1fcd3d73ab878321f887a153aa7"; - sha256 = "dpYUXMbYPRvk+t6Cnc4uh8w5MwuPXuKPgZQl2P0EBZU="; + rev = "69d09b47601f4041ca7e8a513c75f3e4835af9dd"; + sha256 = "sha256-GXUcWI4/akOKIvCHrsOfceZEdyNZdIdalTc6wX+svS4="; }; outputs = [ "out" "doc" ]; @@ -37,18 +34,21 @@ stdenvNoCC.mkDerivation { doCheck = true; installPhase = '' - mkdir -p $doc/${pname} $out/{bin,lib} + runHook preInstall + + mkdir -p $doc/lunarml $out/{bin,lib} cp -r bin $out cp -r lib $out - cp -r doc/* README.* LICENSE* $doc/${pname} - cp -r example $doc/${pname} + cp -r example $doc/lunarml + + runHook postInstall ''; meta = { description = "Standard ML compiler that produces Lua/JavaScript"; homepage = "https://github.com/minoki/LunarML"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ toastal ]; + maintainers = with lib.maintainers; [ toastal ratsclub ]; platforms = mlton.meta.platforms; }; }