piston/runtimes/jelly.nix

26 lines
479 B
Nix
Raw Permalink Normal View History

2022-02-11 18:18:22 +01:00
{pkgs, piston, ...}:
let
pkg = pkgs.jelly;
in piston.mkRuntime {
language = "jelly";
version = pkg.version;
aliases = [];
run = ''
${pkg}/bin/jelly fu "$@"
'';
tests = [
(piston.mkTest {
files = {
"test.jelly" = ''
OK
'';
};
args = [];
stdin = "";
packages = [];
main = "test.jelly";
})
];
}