cddl: 0.8.9 -> 0.10.3

amesgen 92a401fb 63143ac2

+116 -33
+21 -11
pkgs/development/tools/cddl/Gemfile.lock
··· 1 1 GEM 2 2 remote: https://rubygems.org/ 3 3 specs: 4 - abnc (0.1.0) 5 - cbor-diag (0.5.6) 6 - json 4 + abnc (0.1.1) 5 + abnftt (0.2.4) 6 + base32 (0.3.4) 7 + cbor-canonical (0.1.2) 8 + cbor-deterministic (0.1.3) 9 + cbor-diag (0.8.7) 10 + cbor-canonical 11 + cbor-deterministic 12 + cbor-packed 13 + json_pure 7 14 neatjson 8 15 treetop (~> 1) 9 - cddl (0.8.9) 16 + cbor-packed (0.1.5) 17 + cddl (0.10.3) 10 18 abnc 19 + abnftt 20 + base32 (~> 0.3) 11 21 cbor-diag 12 22 colorize 13 - json 23 + json_pure 14 24 regexp-examples 15 - colorize (0.8.1) 16 - json (2.2.0) 17 - neatjson (0.9) 25 + colorize (1.1.0) 26 + json_pure (2.7.1) 27 + neatjson (0.10.5) 18 28 polyglot (0.3.5) 19 - regexp-examples (1.5.0) 20 - treetop (1.6.10) 29 + regexp-examples (1.5.1) 30 + treetop (1.6.12) 21 31 polyglot (~> 0.3) 22 32 23 33 PLATFORMS ··· 27 37 cddl 28 38 29 39 BUNDLED WITH 30 - 2.1.4 40 + 2.3.25
+26 -3
pkgs/development/tools/cddl/default.nix
··· 1 - { lib, bundlerApp, bundlerUpdateScript }: 1 + { lib 2 + , bundlerApp 3 + , bundlerUpdateScript 4 + , makeBinaryWrapper 5 + }: 2 6 3 - bundlerApp { 7 + bundlerApp rec { 4 8 pname = "cddl"; 5 9 6 - gemdir = ./.; 10 + gemfile = ./Gemfile; 11 + lockfile = ./Gemfile.lock; 12 + 13 + gemset = lib.recursiveUpdate (import ./gemset.nix) ({ 14 + "cddl" = { 15 + dontBuild = false; 16 + # setting env vars is not supported by patchShebangs 17 + postPatch = '' 18 + sed -i 's\#!/usr/bin/env RUBY_THREAD_VM_STACK_SIZE=5000000\#!/usr/bin/env\' bin/cddl 19 + ''; 20 + }; 21 + }); 22 + 7 23 exes = [ "cddl" ]; 24 + 25 + nativeBuildInputs = [ makeBinaryWrapper ]; 26 + 27 + postBuild = '' 28 + wrapProgram $out/bin/cddl \ 29 + --set RUBY_THREAD_VM_STACK_SIZE 5000000 30 + ''; 8 31 9 32 passthru.updateScript = bundlerUpdateScript "cddl"; 10 33
+69 -19
pkgs/development/tools/cddl/gemset.nix
··· 4 4 platforms = []; 5 5 source = { 6 6 remotes = ["https://rubygems.org"]; 7 - sha256 = "13nvzrk72nj130fs8bq8q3cfm48939rdzh7l31ncj5c4969hrbig"; 7 + sha256 = "0yj09gc9w208wsy0d45vzha4zfwxdpsqvkm9vms0chm4lxdwdg9x"; 8 8 type = "gem"; 9 9 }; 10 - version = "0.1.0"; 10 + version = "0.1.1"; 11 + }; 12 + abnftt = { 13 + groups = ["default"]; 14 + platforms = []; 15 + source = { 16 + remotes = ["https://rubygems.org"]; 17 + sha256 = "1z7ibh0xv9mqk61rvvmz9fnfk6hffvnppqd8fx61vazjhisi9bcs"; 18 + type = "gem"; 19 + }; 20 + version = "0.2.4"; 21 + }; 22 + base32 = { 23 + groups = ["default"]; 24 + platforms = []; 25 + source = { 26 + remotes = ["https://rubygems.org"]; 27 + sha256 = "1fjs0l3c5g9qxwp43kcnhc45slx29yjb6m6jxbb2x1krgjmi166b"; 28 + type = "gem"; 29 + }; 30 + version = "0.3.4"; 31 + }; 32 + cbor-canonical = { 33 + groups = ["default"]; 34 + platforms = []; 35 + source = { 36 + remotes = ["https://rubygems.org"]; 37 + sha256 = "1fhj51s5d9b9spw096sb0p92bgilw9hrsay383563dh913j2jn11"; 38 + type = "gem"; 39 + }; 40 + version = "0.1.2"; 41 + }; 42 + cbor-deterministic = { 43 + groups = ["default"]; 44 + platforms = []; 45 + source = { 46 + remotes = ["https://rubygems.org"]; 47 + sha256 = "1w1mg4mn1dhlxlbijxpzja8m8ggrjs0hzkzvnaazw9zm1ji6dpba"; 48 + type = "gem"; 49 + }; 50 + version = "0.1.3"; 11 51 }; 12 52 cbor-diag = { 13 - dependencies = ["json" "neatjson" "treetop"]; 53 + dependencies = ["cbor-canonical" "cbor-deterministic" "cbor-packed" "json_pure" "neatjson" "treetop"]; 14 54 groups = ["default"]; 15 55 platforms = []; 16 56 source = { 17 57 remotes = ["https://rubygems.org"]; 18 - sha256 = "0pd0k4malg1l7w3ck5glh9w0hrsvknk8rp32vrir74yww1g6yplv"; 58 + sha256 = "0rwd88xngbjamgydj9rg3wvgl53pfzhal2n702s9afa1yp8mjm51"; 19 59 type = "gem"; 20 60 }; 21 - version = "0.5.6"; 61 + version = "0.8.7"; 62 + }; 63 + cbor-packed = { 64 + groups = ["default"]; 65 + platforms = []; 66 + source = { 67 + remotes = ["https://rubygems.org"]; 68 + sha256 = "1dijyj7rivi39h34f32fx7k4xvngldf569i0372n1z6w01nv761l"; 69 + type = "gem"; 70 + }; 71 + version = "0.1.5"; 22 72 }; 23 73 cddl = { 24 - dependencies = ["abnc" "cbor-diag" "colorize" "json" "regexp-examples"]; 74 + dependencies = ["abnc" "abnftt" "base32" "cbor-diag" "colorize" "json_pure" "regexp-examples"]; 25 75 groups = ["default"]; 26 76 platforms = []; 27 77 source = { 28 78 remotes = ["https://rubygems.org"]; 29 - sha256 = "16rmcrsxwx33pj25g1si0dhjdl2brfhy2vlpfwdb6qqkaikmzhpz"; 79 + sha256 = "1qll1qvn3g75r742kr4da7240zdk2qj4vh325965rrjqp8brz23q"; 30 80 type = "gem"; 31 81 }; 32 - version = "0.8.9"; 82 + version = "0.10.3"; 33 83 }; 34 84 colorize = { 35 85 groups = ["default"]; 36 86 platforms = []; 37 87 source = { 38 88 remotes = ["https://rubygems.org"]; 39 - sha256 = "133rqj85n400qk6g3dhf2bmfws34mak1wqihvh3bgy9jhajw580b"; 89 + sha256 = "0dy8ryhcdzgmbvj7jpa1qq3bhhk1m7a2pz6ip0m6dxh30rzj7d9h"; 40 90 type = "gem"; 41 91 }; 42 - version = "0.8.1"; 92 + version = "1.1.0"; 43 93 }; 44 - json = { 94 + json_pure = { 45 95 groups = ["default"]; 46 96 platforms = []; 47 97 source = { 48 98 remotes = ["https://rubygems.org"]; 49 - sha256 = "0sx97bm9by389rbzv8r1f43h06xcz8vwi3h5jv074gvparql7lcx"; 99 + sha256 = "09w7f7xlcas9irlaavhz0rnh17cjvjmmqm07drgghx5gwjcrar31"; 50 100 type = "gem"; 51 101 }; 52 - version = "2.2.0"; 102 + version = "2.7.1"; 53 103 }; 54 104 neatjson = { 55 105 groups = ["default"]; 56 106 platforms = []; 57 107 source = { 58 108 remotes = ["https://rubygems.org"]; 59 - sha256 = "0fa2v7b6433j0iqh5iq9r71v7a5xabgjvqwsbl21vcsac7vf3ncw"; 109 + sha256 = "0wm1lq8yl6rzysh3wg6fa55w5534k6ppiz0qb7jyvdy582mk5i0s"; 60 110 type = "gem"; 61 111 }; 62 - version = "0.9"; 112 + version = "0.10.5"; 63 113 }; 64 114 polyglot = { 65 115 groups = ["default"]; ··· 76 126 platforms = []; 77 127 source = { 78 128 remotes = ["https://rubygems.org"]; 79 - sha256 = "08s5d327i9dw5yjwv9vfss3qb7lwasjyc75wvh7vrdi5v4vm1y2k"; 129 + sha256 = "0wfkwczjn62qq3z96dxk43m0gh6d5cajx9pxkanvk88d3yqnx29v"; 80 130 type = "gem"; 81 131 }; 82 - version = "1.5.0"; 132 + version = "1.5.1"; 83 133 }; 84 134 treetop = { 85 135 dependencies = ["polyglot"]; ··· 87 137 platforms = []; 88 138 source = { 89 139 remotes = ["https://rubygems.org"]; 90 - sha256 = "0g31pijhnv7z960sd09lckmw9h8rs3wmc8g4ihmppszxqm99zpv7"; 140 + sha256 = "0adc8qblz8ii668r3rksjx83p675iryh52rvdvysimx2hkbasj7d"; 91 141 type = "gem"; 92 142 }; 93 - version = "1.6.10"; 143 + version = "1.6.12"; 94 144 }; 95 145 }