e075fef89f
* 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
23 lines
337 B
Nix
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;
|
|
}
|