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-09-23 05:28:19 +01:00
|
|
|
version = "4.5.9";
|
2020-04-08 16:48:49 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "melsman";
|
|
|
|
repo = "mlkit";
|
|
|
|
rev = "v${version}";
|
2021-09-23 05:28:19 +01:00
|
|
|
sha256 = "sha256-b+iPuGB82a0r0zl49+RbalxR6OpFNXOxZgubzKE+2M4=";
|
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/";
|
2021-08-22 08:28:46 +01:00
|
|
|
changelog = "https://github.com/melsman/mlkit/blob/v${version}/NEWS.md";
|
2020-04-08 16:48:49 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2021-08-22 08:28:46 +01:00
|
|
|
platforms = platforms.unix;
|
2020-04-08 16:48:49 +01:00
|
|
|
maintainers = with maintainers; [ athas ];
|
|
|
|
};
|
|
|
|
}
|