11 lockfile = ./Gemfile.lock;
13 gemset = lib.recursiveUpdate (import ./gemset.nix) ({
16 # setting env vars is not supported by patchShebangs
18 sed -i 's\#!/usr/bin/env RUBY_THREAD_VM_STACK_SIZE=5000000\#!/usr/bin/env\' bin/cddl
25 nativeBuildInputs = [ makeBinaryWrapper ];
28 wrapProgram $out/bin/cddl \
29 --set RUBY_THREAD_VM_STACK_SIZE 5000000
32 passthru.updateScript = bundlerUpdateScript "cddl";
35 description = "A parser, generator, and validator for CDDL";
36 homepage = "https://rubygems.org/gems/cddl";
37 license = with licenses; mit;
38 maintainers = with maintainers; [ fdns nicknovitski amesgen ];
39 platforms = platforms.unix;