nixpkgs/pkgs/development/compilers/mlkit/default.nix
2020-10-25 21:59:26 +00:00

25 lines
591 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, mlton }:
stdenv.mkDerivation rec {
pname = "mlkit";
version = "4.5.1";
src = fetchFromGitHub {
owner = "melsman";
repo = "mlkit";
rev = "v${version}";
sha256 = "1zigigp168737vjrw5vijgyw4k1bgz4sr7j3rwlibw52snsh4y1c";
};
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 ];
};
}