2020-07-18 16:06:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, mlton }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mlkit";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "4.5.2";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "melsman";
|
|
|
|
repo = "mlkit";
|
|
|
|
rev = "v${version}";
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "1yk7phxnwkm94qs1gbxsr6sr11a0sgpcyjymmqwf0fsl5njgyb98";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook mlton ];
|
|
|
|
|
|
|
|
buildFlags = ["mlkit" "mlkit_libs"];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Standard ML Compiler and Toolkit";
|
|
|
|
homepage = "https://elsman.com/mlkit/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ athas ];
|
|
|
|
};
|
|
|
|
}
|