cbor-diag: init at 0.5.2
This commit is contained in:
parent
88e83b0712
commit
5bebf6be9c
2
pkgs/development/tools/cbor-diag/Gemfile
Normal file
2
pkgs/development/tools/cbor-diag/Gemfile
Normal file
@ -0,0 +1,2 @@
|
||||
source 'https://rubygems.org'
|
||||
gem 'cbor-diag'
|
19
pkgs/development/tools/cbor-diag/Gemfile.lock
Normal file
19
pkgs/development/tools/cbor-diag/Gemfile.lock
Normal 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
|
30
pkgs/development/tools/cbor-diag/default.nix
Normal file
30
pkgs/development/tools/cbor-diag/default.nix
Normal 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;
|
||||
};
|
||||
}
|
36
pkgs/development/tools/cbor-diag/gemset.nix
Normal file
36
pkgs/development/tools/cbor-diag/gemset.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user