Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / ocaml-modules / ppx_import / default.nix
blob4ad26ff0862b9036c4ded74094dc0837da50f758
1 { lib, fetchurl, buildDunePackage
2 , ppx_tools_versioned
3 , ocaml-migrate-parsetree
4 , ounit, ppx_deriving, ppxlib
5 }:
7 buildDunePackage rec {
8   pname = "ppx_import";
9   version = "1.8.0";
11   useDune2 = true;
13   minimumOCamlVersion = "4.04";
15   src = fetchurl {
16     url = "https://github.com/ocaml-ppx/ppx_import/releases/download/v${version}/ppx_import-${version}.tbz";
17     sha256 = "0zqcj70yyp4ik4jc6jz3qs2xhb94vxc6yq9ij0d5cyak28klc3gv";
18   };
20   propagatedBuildInputs = [
21     ppx_tools_versioned ocaml-migrate-parsetree
22   ];
24   doCheck = true;
25   checkInputs = [ ounit ppx_deriving ppxlib ];
27   meta = {
28     description = "A syntax extension that allows to pull in types or signatures from other compiled interface files";
29     license = lib.licenses.mit;
30     homepage = "https://github.com/ocaml-ppx/ppx_import";
31   };