nixpkgs/pkgs/development/compilers/mlkit/default.nix

25 lines
591 B
Nix
Raw Normal View History

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