nixpkgs/pkgs/development/tools/cbor-diag/default.nix
2020-04-10 17:54:53 +01:00

31 lines
656 B
Nix

{ 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;
};
}