2020-04-08 16:48:49 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, mlton }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mlkit";
|
2020-10-25 21:59:26 +00:00
|
|
|
version = "4.5.1";
|
2020-04-08 16:48:49 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "melsman";
|
|
|
|
repo = "mlkit";
|
|
|
|
rev = "v${version}";
|
2020-10-25 21:59:26 +00:00
|
|
|
sha256 = "1zigigp168737vjrw5vijgyw4k1bgz4sr7j3rwlibw52snsh4y1c";
|
2020-04-08 16:48:49 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|