bundlerUpdateScript: init and use (#64822)

This commit is contained in:
Nick Novitski
2019-07-22 12:02:47 +00:00
committed by zimbatm
parent b24841dd22
commit 7136e0d0a6
79 changed files with 310 additions and 249 deletions
@@ -1,19 +1,16 @@
{ lib, bundlerEnv, ruby }:
# Maintainer notes for updating
# 1. increment version number in Gemfile
# 2. run $ nix-shell --command "bundler install && bundix"
# in the travis directory in nixpkgs
{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
bundlerEnv {
inherit ruby;
pname = "travis";
gemdir = ./.;
passthru.updateScript = bundlerUpdateScript "travis";
meta = with lib; {
description = "CLI and Ruby client library for Travis CI";
homepage = https://github.com/travis-ci/travis.rb;
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
maintainers = with maintainers; [ zimbatm nicknovitski ];
};
}