2021-01-22 11:25:31 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, mlton }:
|
2020-04-08 16:48:49 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mlkit";
|
2021-02-11 19:43:27 +00:00
|
|
|
version = "4.5.7";
|
2020-04-08 16:48:49 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "melsman";
|
|
|
|
repo = "mlkit";
|
|
|
|
rev = "v${version}";
|
2021-02-11 19:43:27 +00:00
|
|
|
sha256 = "sha256-Wq+Os7nzRA5Pxz6Ba7DudcDQs3KA0eYVLy1nO/A16EE=";
|
2020-04-08 16:48:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook mlton ];
|
|
|
|
|
|
|
|
buildFlags = ["mlkit" "mlkit_libs"];
|
|
|
|
|
2021-01-22 11:25:31 +00:00
|
|
|
meta = with lib; {
|
2020-04-08 16:48:49 +01:00
|
|
|
description = "Standard ML Compiler and Toolkit";
|
|
|
|
homepage = "https://elsman.com/mlkit/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ athas ];
|
|
|
|
};
|
|
|
|
}
|