mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
a42c917e0a
Move rtop to a separate package.
46 lines
953 B
Nix
46 lines
953 B
Nix
{ lib, callPackage, buildDunePackage, fetchurl
|
|
, fix, menhir, menhirLib, menhirSdk, merlin-extend, ppxlib, cppo, ppx_derivers
|
|
, dune-build-info
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "reason";
|
|
version = "3.13.0";
|
|
|
|
minimalOCamlVersion = "4.11";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/reasonml/reason/releases/download/${version}/reason-${version}.tbz";
|
|
hash = "sha256-3yVEYGvIJKZwguIBGCbnoc3nrwzLW6RX6Tf+AYw85+Q=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
menhir
|
|
cppo
|
|
];
|
|
|
|
buildInputs = [
|
|
dune-build-info
|
|
fix
|
|
menhirSdk
|
|
merlin-extend
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
ppxlib
|
|
menhirLib
|
|
];
|
|
|
|
passthru.tests = {
|
|
hello = callPackage ./tests/hello { };
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://reasonml.github.io/";
|
|
downloadPage = "https://github.com/reasonml/reason";
|
|
description = "User-friendly programming language built on OCaml";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|