summaryrefslogtreecommitdiffstats
path: root/pkgs/development/tools/cddl
diff options
context:
space:
mode:
authorNick Novitski <github@nicknovitski.com>2019-07-22 05:02:47 -0700
committerzimbatm <zimbatm@zimbatm.com>2019-07-22 12:02:47 +0000
commit7136e0d0a6f61734994c566e2cc72fd75733b873 (patch)
treefcaeaea68f596a81fb885790ce87c3aac4bd52ba /pkgs/development/tools/cddl
parentb24841dd2260516bfde0b9029619a0f9ef87e97c (diff)
bundlerUpdateScript: init and use (#64822)
Diffstat (limited to 'pkgs/development/tools/cddl')
-rw-r--r--pkgs/development/tools/cddl/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/tools/cddl/default.nix b/pkgs/development/tools/cddl/default.nix
index 37ad593d7964..60e7edc75200 100644
--- a/pkgs/development/tools/cddl/default.nix
+++ b/pkgs/development/tools/cddl/default.nix
@@ -1,17 +1,18 @@
-{ lib, bundlerApp, ruby }:
+{ lib, bundlerApp, bundlerUpdateScript }:
bundlerApp {
pname = "cddl";
- inherit ruby;
gemdir = ./.;
exes = [ "cddl" ];
+ passthru.updateScript = bundlerUpdateScript "cddl";
+
meta = with lib; {
description = "A parser, generator, and validator for CDDL";
homepage = https://rubygems.org/gems/cddl;
license = with licenses; mit;
- maintainers = with maintainers; [ fdns ];
+ maintainers = with maintainers; [ fdns nicknovitski ];
platforms = platforms.unix;
};
}