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 hellolaunchpad/nixpkgs/master
parent
70346bf6d0
commit
e075fef89f
@ -0,0 +1,23 @@ |
||||
{ 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; |
||||
} |
@ -0,0 +1,4 @@ |
||||
(executable |
||||
(name helloreason) |
||||
(public_name helloreason) |
||||
(libraries reason)) |
@ -0,0 +1,6 @@ |
||||
let sayHello = () => { |
||||
let fromWhom = "From Reason"; |
||||
print_endline("Hello " ++ fromWhom); |
||||
}; |
||||
|
||||
sayHello(); |
Loading…
Reference in new issue