depot/third_party/nixpkgs/pkgs/development/compilers/mlkit/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

24 lines
588 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, mlton }:
stdenv.mkDerivation rec {
pname = "mlkit";
version = "4.5.6";
src = fetchFromGitHub {
owner = "melsman";
repo = "mlkit";
rev = "v${version}";
sha256 = "sha256-aa6dRcGTXGakJsHCvHXRKs5BHtIZi6V2r8348epzpVc=";
};
nativeBuildInputs = [ autoreconfHook mlton ];
buildFlags = ["mlkit" "mlkit_libs"];
meta = with lib; {
description = "Standard ML Compiler and Toolkit";
homepage = "https://elsman.com/mlkit/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ athas ];
};
}