linux/hardened/patches/6.6: v6.6.73-hardened1 -> v6.6.75-hardened1
[NixPkgs.git] / pkgs / development / compilers / reason / default.nix
blob7a8e4afe0a748beee108a22f15103d347700ad13
1 { lib, callPackage, buildDunePackage, fetchurl
2 , fix, menhir, menhirLib, menhirSdk, merlin-extend, ppxlib, cppo, ppx_derivers
3 , dune-build-info
4 }:
6 buildDunePackage rec {
7   pname = "reason";
8   version = "3.14.0";
10   minimalOCamlVersion = "4.11";
12   src = fetchurl {
13     url = "https://github.com/reasonml/reason/releases/download/${version}/reason-${version}.tbz";
14     hash = "sha256-HQm6JKBZR0Wrazi01fgerYVltzy2mtRq8cLCb40yTwA=";
15   };
17   nativeBuildInputs = [
18     menhir
19     cppo
20   ];
22   buildInputs = [
23     dune-build-info
24     fix
25     menhirSdk
26     merlin-extend
27   ];
29   propagatedBuildInputs = [
30     ppxlib
31     menhirLib
32   ];
34   passthru.tests = {
35     hello = callPackage ./tests/hello { };
36   };
38   meta = with lib; {
39     homepage = "https://reasonml.github.io/";
40     downloadPage = "https://github.com/reasonml/reason";
41     description = "User-friendly programming language built on OCaml";
42     license = licenses.mit;
43     maintainers = [ ];
44   };