mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-16 17:41:33 +03:00
lunarml: unstable-2023-07-25 → unstable-2023-08-25
This commit is contained in:
parent
ba7b67c70d
commit
83d358d2a2
@ -5,19 +5,16 @@
|
|||||||
, lua5_3
|
, lua5_3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
pname = "lunarml";
|
|
||||||
in
|
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation {
|
||||||
inherit pname;
|
pname = "lunarml";
|
||||||
|
|
||||||
version = "unstable-2023-07-25";
|
version = "unstable-2023-08-25";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "minoki";
|
owner = "minoki";
|
||||||
repo = "LunarML";
|
repo = "LunarML";
|
||||||
rev = "4a5f9c7d42c6b1fcd3d73ab878321f887a153aa7";
|
rev = "69d09b47601f4041ca7e8a513c75f3e4835af9dd";
|
||||||
sha256 = "dpYUXMbYPRvk+t6Cnc4uh8w5MwuPXuKPgZQl2P0EBZU=";
|
sha256 = "sha256-GXUcWI4/akOKIvCHrsOfceZEdyNZdIdalTc6wX+svS4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "doc" ];
|
outputs = [ "out" "doc" ];
|
||||||
@ -37,18 +34,21 @@ stdenvNoCC.mkDerivation {
|
|||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $doc/${pname} $out/{bin,lib}
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $doc/lunarml $out/{bin,lib}
|
||||||
cp -r bin $out
|
cp -r bin $out
|
||||||
cp -r lib $out
|
cp -r lib $out
|
||||||
cp -r doc/* README.* LICENSE* $doc/${pname}
|
cp -r example $doc/lunarml
|
||||||
cp -r example $doc/${pname}
|
|
||||||
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Standard ML compiler that produces Lua/JavaScript";
|
description = "Standard ML compiler that produces Lua/JavaScript";
|
||||||
homepage = "https://github.com/minoki/LunarML";
|
homepage = "https://github.com/minoki/LunarML";
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with lib.maintainers; [ toastal ];
|
maintainers = with lib.maintainers; [ toastal ratsclub ];
|
||||||
platforms = mlton.meta.platforms;
|
platforms = mlton.meta.platforms;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user