12 lockfile = ./Gemfile.lock;
14 gemset = lib.recursiveUpdate (import ./gemset.nix) ({
17 # setting env vars is not supported by patchShebangs
19 sed -i 's\#!/usr/bin/env RUBY_THREAD_VM_STACK_SIZE=5000000\#!/usr/bin/env\' bin/cddl
26 nativeBuildInputs = [ makeBinaryWrapper ];
29 wrapProgram $out/bin/cddl \
30 --set RUBY_THREAD_VM_STACK_SIZE 5000000
33 passthru.updateScript = bundlerUpdateScript "cddl";
36 description = "Parser, generator, and validator for CDDL";
37 homepage = "https://rubygems.org/gems/cddl";
38 license = with licenses; mit;
39 maintainers = with maintainers; [
44 platforms = platforms.unix;