nixpkgs-suyu/pkgs/development/compilers/reason/tests/hello/default.nix
superherointj e075fef89f
reason: ppxlib migration (#126066)
* reason: refactoring

* reason: add superherointj as maintainer

* reason: ppxlib migration

Migrate from ocaml-migrate-parsetree to ppxlib fixing conflicts in downstream dependencies.

* reason: add downloadPage to meta

* reason: removed maintainer volth by his request

* reason: add test hello
2021-06-08 23:20:38 +02:00

23 lines
337 B
Nix

{ lib, buildDunePackage, reason }:
buildDunePackage rec {
pname = "helloreason";
version = "0.0.1";
src = ./.;
useDune2 = true;
buildInputs = [
reason
];
doCheck = true;
doInstallCheck = true;
postInstallCheck = ''
$out/bin/${pname} | grep -q "Hello From Reason" > /dev/null
'';
meta.timeout = 60;
}