Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 24 lines 588 B view raw
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, mlton }: 2 3stdenv.mkDerivation rec { 4 pname = "mlkit"; 5 version = "4.5.7"; 6 7 src = fetchFromGitHub { 8 owner = "melsman"; 9 repo = "mlkit"; 10 rev = "v${version}"; 11 sha256 = "sha256-Wq+Os7nzRA5Pxz6Ba7DudcDQs3KA0eYVLy1nO/A16EE="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook mlton ]; 15 16 buildFlags = ["mlkit" "mlkit_libs"]; 17 18 meta = with lib; { 19 description = "Standard ML Compiler and Toolkit"; 20 homepage = "https://elsman.com/mlkit/"; 21 license = licenses.gpl2Plus; 22 maintainers = with maintainers; [ athas ]; 23 }; 24}