nixpkgs/pkgs/development/tools/cbor-diag/default.nix
2023-04-26 23:33:08 +02:00

35 lines
748 B
Nix

{ lib, bundlerApp, bundlerUpdateScript }:
bundlerApp {
pname = "cbor-diag";
gemdir = ./.;
exes = [
"cbor2diag.rb"
"cbor2json.rb"
"cbor2pretty.rb"
"cbor2yaml.rb"
"cborseq2diag.rb"
"cborseq2json.rb"
"cborseq2neatjson.rb"
"cborseq2yaml.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;
};
}