25 lines
591 B
Nix
25 lines
591 B
Nix
|
{ stdenv, fetchFromGitHub, autoreconfHook, mlton }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "mlkit";
|
||
|
version = "4.5.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "melsman";
|
||
|
repo = "mlkit";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "0fc0y40qphn02857fv2dvhwzzsvgixzchx9i6i0x80xfv7z68fbh";
|
||
|
};
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|