2019-12-20 14:39:39 +00:00
|
|
|
{ stdenv, runCommand, fetchFromGitHub, ninja, nodejs, python3, ... }:
|
2019-12-05 19:41:34 +00:00
|
|
|
let
|
2019-12-20 14:39:39 +00:00
|
|
|
build-bs-platform = import ./build-bs-platform.nix;
|
|
|
|
in
|
|
|
|
(build-bs-platform {
|
|
|
|
inherit stdenv runCommand fetchFromGitHub ninja nodejs python3;
|
|
|
|
version = "7.0.1";
|
|
|
|
ocaml-version = "4.06.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "BuckleScript";
|
|
|
|
repo = "bucklescript";
|
|
|
|
rev = "52770839e293ade2bcf187f2639000ca0a9a1d46";
|
|
|
|
sha256 = "0s7g2zfhshsilv9zyp0246bypg34d294z27alpwz03ws9608yr7k";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
}).overrideAttrs (attrs: {
|
2019-12-05 19:41:34 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A JavaScript backend for OCaml focused on smooth integration and clean generated code.";
|
|
|
|
homepage = https://bucklescript.github.io;
|
|
|
|
license = licenses.lgpl3;
|
2020-01-12 17:52:41 +00:00
|
|
|
maintainers = with maintainers; [ turbomack gamb anmonteiro ];
|
2019-12-05 19:41:34 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
2019-12-20 14:39:39 +00:00
|
|
|
})
|