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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
699 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, mlton }:
2020-04-08 15:48:49 +00:00
stdenv.mkDerivation rec {
pname = "mlkit";
2024-01-04 06:22:49 +00:00
version = "4.7.8";
2020-04-08 15:48:49 +00:00
src = fetchFromGitHub {
owner = "melsman";
repo = "mlkit";
rev = "v${version}";
2024-01-04 06:22:49 +00:00
sha256 = "sha256-IAlcf4McvWoCflrH6d6PQP1aosHq2QNKBwde7i38Mc4=";
2020-04-08 15:48:49 +00:00
};
nativeBuildInputs = [ autoreconfHook mlton ];
2022-07-09 04:20:00 +00:00
buildFlags = [ "mlkit" "mlkit_libs" ];
2020-04-08 15:48:49 +00:00
meta = with lib; {
2020-04-08 15:48:49 +00:00
description = "Standard ML Compiler and Toolkit";
homepage = "https://elsman.com/mlkit/";
2021-08-22 07:28:46 +00:00
changelog = "https://github.com/melsman/mlkit/blob/v${version}/NEWS.md";
2020-04-08 15:48:49 +00:00
license = licenses.gpl2Plus;
2021-08-22 07:28:46 +00:00
platforms = platforms.unix;
2020-04-08 15:48:49 +00:00
maintainers = with maintainers; [ athas ];
};
}