summary refs log tree commit diff
path: root/pkgs/development/tools/cbor-diag/default.nix
blob: 118197af2d1fdaf15ddacc4268a39d2ca66fcf55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib, bundlerApp, bundlerUpdateScript }:

bundlerApp {
  pname = "cbor-diag";

  gemdir = ./.;

  exes = [
    "cbor2diag.rb"
    "cbor2json.rb"
    "cbor2pretty.rb"
    "cbor2yaml.rb"
    "diag2cbor.rb"
    "diag2pretty.rb"
    "json2cbor.rb"
    "json2pretty.rb"
    "pretty2cbor.rb"
    "pretty2diag.rb"
    "yaml2cbor.rb"
  ];

  passthru.updateScript = bundlerUpdateScript "cbor-diag";

  meta = with lib; {
    description = "CBOR diagnostic utilities";
    homepage    = "https://github.com/cabo/cbor-diag";
    license     = with licenses; asl20;
    maintainers = with maintainers; [ fdns nicknovitski ];
    platforms   = platforms.unix;
  };
}