cbor-diag: init at 0.5.2

This commit is contained in:
Felipe Espinoza 2018-03-22 20:34:00 -03:00
parent 88e83b0712
commit 5bebf6be9c
5 changed files with 89 additions and 0 deletions

View File

@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'cbor-diag'

View File

@ -0,0 +1,19 @@
GEM
remote: https://rubygems.org/
specs:
cbor-diag (0.5.2)
json
treetop (~> 1)
json (2.1.0)
polyglot (0.3.5)
treetop (1.6.10)
polyglot (~> 0.3)
PLATFORMS
ruby
DEPENDENCIES
cbor-diag
BUNDLED WITH
1.14.6

View File

@ -0,0 +1,30 @@
{ lib, bundlerApp, ruby }:
bundlerApp {
pname = "cbor-diag";
inherit ruby;
gemdir = ./.;
exes = [
"cbor2diag.rb"
"cbor2json.rb"
"cbor2pretty.rb"
"cbor2yaml.rb"
"diag2cbor.rb"
"diag2pretty.rb"
"json2cbor.rb"
"json2pretty.rb"
"pretty2cbor.rb"
"pretty2diag.rb"
"yaml2cbor.rb"
];
meta = with lib; {
description = "CBOR diagnostic utilities";
homepage = https://github.com/cabo/cbor-diag;
license = with licenses; asl20;
maintainers = with maintainers; [ fdns ];
platforms = platforms.unix;
};
}

View File

@ -0,0 +1,36 @@
{
cbor-diag = {
dependencies = ["json" "treetop"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1g4pxf1ag4pyb351m06l08ig1smnf8w27ynqfxkgmwak5mh1z7w1";
type = "gem";
};
version = "0.5.2";
};
json = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "01v6jjpvh3gnq6sgllpfqahlgxzj50ailwhj9b3cd20hi2dx0vxp";
type = "gem";
};
version = "2.1.0";
};
polyglot = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1bqnxwyip623d8pr29rg6m8r0hdg08fpr2yb74f46rn1wgsnxmjr";
type = "gem";
};
version = "0.3.5";
};
treetop = {
dependencies = ["polyglot"];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0g31pijhnv7z960sd09lckmw9h8rs3wmc8g4ihmppszxqm99zpv7";
type = "gem";
};
version = "1.6.10";
};
}

View File

@ -977,6 +977,8 @@ with pkgs;
image-analyzer = callPackage ../misc/emulators/cdemu/analyzer.nix { };
cbor-diag = callPackage ../development/tools/cbor-diag { };
ccnet = callPackage ../tools/networking/ccnet { };
cddl = callPackage ../development/tools/cddl { };