Last active
May 19, 2021 14:00
-
-
Save tyrion/48592c673760c9dfe2b2618529290750 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchFromGitHub, coreutils, ocamlPackages, zlib, pcre, neko, mbedtls | |
, ocaml-sha # put this into ocamlPackages | |
}: | |
stdenv.mkDerivation rec { | |
pname = "haxe"; | |
version = "4.1.5"; | |
src = fetchFromGitHub { | |
owner = "HaxeFoundation"; | |
repo = "haxe"; | |
rev = version; | |
sha256 = "0rns6d28qzkbai6yyws08yzbyvxfn848nj0fsji7chdi0y7pzzj0"; | |
fetchSubmodules = true; | |
}; | |
dontStrip = true; | |
makeFlags = [ | |
"INSTALL_DIR=$(out)" | |
"BRANCH=HEAD" | |
"COMMIT_DATE=20201231082044" | |
"COMMIT_SHA=5e33a78aa" | |
"all" | |
"tools" | |
]; | |
buildInputs = with ocamlPackages; [ | |
ocaml | |
findlib | |
camlp5 | |
dune_2 | |
xml-light | |
sedlex_2 | |
ocaml_extlib | |
ptmap | |
ocaml-migrate-parsetree | |
ppx_tools_versioned | |
ocaml-sha | |
] ++ [ | |
zlib | |
pcre | |
neko | |
mbedtls | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ buildDunePackage, fetchFromGitHub }: | |
buildDunePackage rec { | |
pname = "sha"; | |
version = "1.13"; | |
useDune2 = true; | |
src = fetchFromGitHub { | |
owner = "djs55"; | |
repo = "ocaml-sha"; | |
rev = "v${version}"; | |
sha256 = "0z1mrc4rvxvrgahxc4si6mcm5ap45fsxzmpdifylaxavdfcaqz1b"; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this gist. Works perfectly for us at HSLuv: https://github.com/hsluv/hsluv