git.iko.soy/typeable/nixpkgs
on master help sign in
bundlerUpdateScript: init and use (#64822)
commit7136e0d0a6f61734994c566e2cc72fd75733b873 authorNick Novitski <github@nicknovitski.com> dateMon 22 Jul 2019, 05:02 (7 years ago) parentb24841d
79 files changed+310−249
pkgs/applications/graphics/image_optim/default.nix+4−4 pkgs/applications/graphics/image_optim/update.sh−9 pkgs/applications/misc/doing/default.nix+4−4 pkgs/applications/misc/gollum/default.nix+4−2 pkgs/applications/misc/pt/default.nix+4−2 pkgs/applications/misc/taskjuggler/default.nix+4−2 pkgs/applications/networking/cluster/terraform-landscape/default.nix+4−3 pkgs/applications/networking/mailreaders/sup/default.nix+4−6 pkgs/applications/office/ledger-web/default.nix+4−2 pkgs/applications/office/timetrap/default.nix+4−2 pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix+4−2 pkgs/applications/version-management/git-and-tools/git-fame/default.nix+4−2 pkgs/development/compilers/matter-compiler/default.nix+4−2 pkgs/development/ruby-modules/bundler-env/default.nix+2−1 pkgs/development/ruby-modules/bundler-update-script/default.nix+25 pkgs/development/ruby-modules/solargraph/default.nix+4−2 pkgs/development/tools/build-managers/drake/default.nix+4−2 pkgs/development/tools/build-managers/rake/default.nix+4−2 pkgs/development/tools/cadre/default.nix+4−2 pkgs/development/tools/cbor-diag/default.nix+4−3 pkgs/development/tools/cddl/default.nix+4−3 pkgs/development/tools/chefdk/default.nix+6−6 pkgs/development/tools/compass/default.nix+4−2 pkgs/development/tools/continuous-integration/cide/default.nix+4−2 pkgs/development/tools/corundum/default.nix+4−2 pkgs/development/tools/cucumber/default.nix+4−2 pkgs/development/tools/github-changelog-generator/default.nix+4−2 pkgs/development/tools/jazzy/default.nix+3−3 pkgs/development/tools/jazzy/update−10 pkgs/development/tools/jsduck/default.nix+5−3 pkgs/development/tools/misc/mdl/.bundle/config−3 pkgs/development/tools/misc/mdl/default.nix+4−2 pkgs/development/tools/misc/one_gadget/default.nix+4−2 pkgs/development/tools/misc/travis/default.nix+4−7 pkgs/development/tools/misc/watson-ruby/default.nix+4−2 pkgs/development/tools/redis-dump/default.nix+4−2 pkgs/development/tools/ronn/default.nix+4−2 pkgs/development/tools/rubocop/default.nix+3−1 pkgs/development/tools/sass/default.nix+4−2 pkgs/development/tools/scss-lint/default.nix+4−2 pkgs/development/tools/sqlint/default.nix+4−3 pkgs/development/tools/xcpretty/default.nix+2−8 pkgs/development/web/mailcatcher/default.nix+4−2 pkgs/servers/http/showoff/default.nix+4−2 pkgs/servers/monitoring/riemann-dash/default.nix+4−2 pkgs/servers/monitoring/sensu/default.nix+4−2 pkgs/tools/admin/fastlane/default.nix+4−1 pkgs/tools/admin/fastlane/update−10 pkgs/tools/admin/oxidized/default.nix+4−2 pkgs/tools/backup/lvmsync/default.nix+4−2 pkgs/tools/inputmethods/fusuma/default.nix+4−2 pkgs/tools/misc/docker-sync/default.nix+4−2 pkgs/tools/misc/fluentd/default.nix+4−2 pkgs/tools/misc/homesick/default.nix+5−3 pkgs/tools/misc/lolcat/default.nix+4−2 pkgs/tools/misc/pws/default.nix+5−3 pkgs/tools/misc/riemann-tools/default.nix+4−2 pkgs/tools/misc/t/default.nix+4−2 pkgs/tools/misc/td/default.nix+4−2 pkgs/tools/misc/teamocil/default.nix+4−1 pkgs/tools/misc/teamocil/update−10 pkgs/tools/networking/hue-cli/default.nix+4−2 pkgs/tools/networking/maphosts/default.nix+4−2 pkgs/tools/package-management/elm-github-install/default.nix+6−2 pkgs/tools/package-management/fpm/default.nix+4−2 pkgs/tools/package-management/fpm/update−10 pkgs/tools/security/bundler-audit/default.nix+4−2 pkgs/tools/system/colorls/default.nix+4−2 pkgs/tools/system/hiera-eyaml/default.nix+4−2 pkgs/tools/system/procodile/default.nix+4−2 pkgs/tools/system/r10k/default.nix+4−2 pkgs/tools/text/bcat/default.nix+4−2 pkgs/tools/text/papertrail/default.nix+11−2 pkgs/tools/text/papertrail/shell.nix−19 pkgs/tools/text/reckon/default.nix+5−2 pkgs/tools/text/ruby-zoom/default.nix+4−2 pkgs/tools/typesetting/asciidoctor/default.nix+3−9 pkgs/tools/typesetting/asciidoctor/update.sh−6 pkgs/top-level/all-packages.nix+1
pkgs/applications/graphics/image_optim/default.nix+4−4
@@ -1,4 +1,4 @@
1−{ lib, bundlerApp, ruby, makeWrapper,
1+{ lib, bundlerApp, bundlerUpdateScript, makeWrapper,
22 withPngcrush ? true, pngcrush ? null,
33 withPngout ? true, pngout ? null,
44 withAdvpng ? true, advancecomp ? null,
@@ -45,8 +45,6 @@ bundlerApp {
4545 pname = "image_optim";
4646 gemdir = ./.;
4747
48− inherit ruby;
49−
5048 exes = [ "image_optim" ];
5149
5250 buildInputs = [ makeWrapper ];
@@ -56,11 +54,13 @@ bundlerApp {
5654 --prefix PATH : ${makeBinPath optionalDepsPath}
5755 '';
5856
57+ passthru.updateScript = bundlerUpdateScript "image_optim";
58+
5959 meta = with lib; {
6060 description = "Command line tool and ruby interface to optimize (lossless compress, optionally lossy) jpeg, png, gif and svg images using external utilities (advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegrescan, jpegtran, optipng, pngcrush, pngout, pngquant, svgo)";
6161 homepage = https://github.com/toy/image_optim;
6262 license = licenses.mit;
63− maintainers = with maintainers; [ srghma ];
63+ maintainers = with maintainers; [ srghma nicknovitski ];
6464 platforms = platforms.all;
6565 };
6666}
pkgs/applications/graphics/image_optim/update.shdeleted−9
@@ -1,9 +0,0 @@
1−#!/usr/bin/env nix-shell
2−#!nix-shell -i bash -p bundix bundler
3−
4−SCRIPT_DIR=$(dirname "$(readlink -f "$BASH_SOURCE")")
5−
6−cd $SCRIPT_DIR
7−
8−bundle lock --update
9−bundix
pkgs/applications/misc/doing/default.nix+4−4
@@ -1,8 +1,6 @@
1−{ lib, bundlerEnv, ruby
1+{ lib, bundlerEnv, ruby, bundlerUpdateScript
22}:
33
4−# Bundix:
5−# nix-shell -p bundix zlib
64bundlerEnv rec {
75 pname = "doing";
86 version = (import ./gemset.nix).doing.version;
@@ -10,6 +8,8 @@ bundlerEnv rec {
108 inherit ruby;
119 gemdir = ./.;
1210
11+ passthru.updateScript = bundlerUpdateScript "doing";
12+
1313 meta = with lib; {
1414 description = "A command line tool for keeping track of what you’re doing and tracking what you’ve done.";
1515 longDescription = ''
@@ -19,7 +19,7 @@ bundlerEnv rec {
1919 '';
2020 homepage = https://brettterpstra.com/projects/doing/;
2121 license = licenses.mit;
22− maintainers = with maintainers; [ ktf ];
22+ maintainers = with maintainers; [ ktf nicknovitski ];
2323 platforms = platforms.unix;
2424 };
2525}
pkgs/applications/misc/gollum/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, bundlerEnv, ruby, makeWrapper
1+{ stdenv, bundlerEnv, ruby, makeWrapper, bundlerUpdateScript
22, git }:
33
44stdenv.mkDerivation rec {
@@ -23,11 +23,13 @@ stdenv.mkDerivation rec {
2323 --prefix PATH ":" ${stdenv.lib.makeBinPath [ git ]}
2424 '';
2525
26+ passthru.updateScript = bundlerUpdateScript "gollum";
27+
2628 meta = with stdenv.lib; {
2729 description = "A simple, Git-powered wiki";
2830 homepage = https://github.com/gollum/gollum;
2931 license = licenses.mit;
30− maintainers = with maintainers; [ jgillich primeos ];
32+ maintainers = with maintainers; [ jgillich primeos nicknovitski ];
3133 platforms = platforms.unix;
3234 };
3335}
pkgs/applications/misc/pt/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "pt";
55 gemdir = ./.;
66 exes = [ "pt" ];
77
8+ passthru.updateScript = bundlerUpdateScript "pt";
9+
810 meta = with lib; {
911 description = "Minimalist command-line Pivotal Tracker client";
1012 homepage = http://www.github.com/raul/pt;
1113 license = licenses.mit;
12− maintainers = with maintainers; [ ebzzry manveru ];
14+ maintainers = with maintainers; [ ebzzry manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/applications/misc/taskjuggler/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "taskjuggler";
@@ -9,11 +9,13 @@ bundlerApp {
99 "tj3ts_receiver" "tj3ts_sender" "tj3ts_summary" "tj3webd"
1010 ];
1111
12+ passthru.updateScript = bundlerUpdateScript "taskjuggler";
13+
1214 meta = with lib; {
1315 description = "A modern and powerful project management tool";
1416 homepage = http://taskjuggler.org/;
1517 license = licenses.gpl2;
1618 platforms = platforms.unix;
17− maintainers = [ maintainers.manveru ];
19+ maintainers = with maintainers; [ manveru nicknovitski ];
1820 };
1921}
pkgs/applications/networking/cluster/terraform-landscape/default.nix+4−3
@@ -1,17 +1,18 @@
1−{ lib, bundlerApp, ruby }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "terraform_landscape";
55
6− inherit ruby;
76 gemdir = ./.;
87 exes = [ "landscape" ];
98
9+ passthru.updateScript = bundlerUpdateScript "terraform-landscape";
10+
1011 meta = with lib; {
1112 description = "Improve Terraform's plan output to be easier to read and understand";
1213 homepage = https://github.com/coinbase/terraform-landscape;
1314 license = with licenses; apsl20;
14− maintainers = with maintainers; [ mbode manveru ];
15+ maintainers = with maintainers; [ mbode manveru nicknovitski ];
1516 platforms = platforms.unix;
1617 };
1718}
pkgs/applications/networking/mailreaders/sup/default.nix+4−6
@@ -1,8 +1,4 @@
1−{ lib, bundlerApp }:
2−
3−# Updated with:
4−# rm gemset.nix Gemfile.lock
5−# nix-shell -p bundler bundix --run 'bundle lock && bundix'
1+{ lib, bundlerApp, bundlerUpdateScript }:
62
73bundlerApp {
84 pname = "sup";
@@ -20,11 +16,13 @@ bundlerApp {
2016 "sup-tweak-labels"
2117 ];
2218
19+ passthru.updateScript = bundlerUpdateScript "sup";
20+
2321 meta = with lib; {
2422 description = "A curses threads-with-tags style email client";
2523 homepage = http://sup-heliotrope.github.io;
2624 license = licenses.gpl2;
27− maintainers = with maintainers; [ cstrahan lovek323 manveru ];
25+ maintainers = with maintainers; [ cstrahan lovek323 manveru nicknovitski ];
2826 platforms = platforms.unix;
2927 };
3028}
pkgs/applications/office/ledger-web/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, bundlerApp
1+{ lib, bundlerApp, bundlerUpdateScript
22, withPostgresql ? true, postgresql
33, withSqlite ? false, sqlite
44}:
@@ -11,11 +11,13 @@ bundlerApp rec {
1111 buildInputs = lib.optional withPostgresql postgresql
1212 ++ lib.optional withSqlite sqlite;
1313
14+ passthru.updateScript = bundlerUpdateScript "ledger-web";
15+
1416 meta = with lib; {
1517 description = "A web frontend to the Ledger CLI tool";
1618 homepage = https://github.com/peterkeen/ledger-web;
1719 license = licenses.mit;
18− maintainers = with maintainers; [ peterhoeg manveru ];
20+ maintainers = with maintainers; [ peterhoeg manveru nicknovitski ];
1921 platforms = platforms.linux;
2022 };
2123}
pkgs/applications/office/timetrap/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "timetrap";
55 gemdir = ./.;
66 exes = [ "t" "timetrap" ];
77
8+ passthru.updateScript = bundlerUpdateScript "timetrap";
9+
810 meta = with lib; {
911 description = "A simple command line time tracker written in ruby";
1012 homepage = https://github.com/samg/timetrap;
1113 license = licenses.mit;
12− maintainers = with maintainers; [ jerith666 manveru ];
14+ maintainers = with maintainers; [ jerith666 manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, bundlerEnv, ruby }:
1+{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
22
33bundlerEnv rec {
44 name = "bitbucket-server-cli-${version}";
@@ -9,11 +9,13 @@ bundlerEnv rec {
99
1010 pname = "atlassian-stash";
1111
12+ passthru.updateScript = bundlerUpdateScript "gitAndTools.bitbucket-server-cli";
13+
1214 meta = with lib; {
1315 description = "A command line interface to interact with BitBucket Server (formerly Atlassian Stash)";
1416 homepage = https://bitbucket.org/atlassian/bitbucket-server-cli;
1517 license = licenses.mit;
16− maintainers = with maintainers; [ jgertm ];
18+ maintainers = with maintainers; [ jgertm nicknovitski ];
1719 platforms = platforms.unix;
1820 };
1921}
pkgs/applications/version-management/git-and-tools/git-fame/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, bundlerEnv, ruby }:
1+{ stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
22
33bundlerEnv rec {
44 inherit ruby;
@@ -7,13 +7,15 @@ bundlerEnv rec {
77
88 gemdir = ./.;
99
10+ passthru.updateScript = bundlerUpdateScript "gitAndTools.git-fame";
11+
1012 meta = with stdenv.lib; {
1113 description = ''
1214 A command-line tool that helps you summarize and pretty-print collaborators based on contributions
1315 '';
1416 homepage = http://oleander.io/git-fame-rb;
1517 license = licenses.mit;
16− maintainers = with maintainers; [ expipiplus1 ];
18+ maintainers = with maintainers; [ expipiplus1 nicknovitski ];
1719 platforms = platforms.unix;
1820 };
1921}
pkgs/development/compilers/matter-compiler/default.nix+4−2
@@ -1,10 +1,12 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "matter_compiler";
55 gemdir = ./.;
66 exes = [ "matter_compiler" ];
77
8+ passthru.updateScript = bundlerUpdateScript "matter-compiler";
9+
810 meta = with lib; {
911 description = ''
1012 Matter Compiler is a API Blueprint AST Media Types to API Blueprint conversion tool.
@@ -12,7 +14,7 @@ bundlerApp {
1214 '';
1315 homepage = https://github.com/apiaryio/matter_compiler/;
1416 license = licenses.mit;
15− maintainers = with maintainers; [ rvlander manveru ];
17+ maintainers = with maintainers; [ rvlander manveru nicknovitski ];
1618 platforms = platforms.unix;
1719 };
1820}
pkgs/development/ruby-modules/bundler-env/default.nix+2−1
@@ -13,6 +13,7 @@
1313, document ? []
1414, meta ? {}
1515, ignoreCollisions ? false
16+, passthru ? {}
1617, ...
1718}@args:
1819
@@ -55,5 +56,5 @@ in
5556 passthru = basicEnv.passthru // {
5657 inherit basicEnv;
5758 inherit (basicEnv) env;
58− };
59+ } // passthru;
5960 })
pkgs/development/ruby-modules/bundler-update-script/default.nixnew file+25
@@ -0,0 +1,25 @@
1+{ runtimeShell, lib, writeScript, bundix, bundler, bundler-audit, coreutils, git, nix }:
2+
3+attrPath:
4+
5+let
6+ updateScript = writeScript "bundler-update-script" ''
7+ #!${runtimeShell}
8+ PATH=${lib.makeBinPath [ bundler bundler-audit bundix coreutils git nix ]}
9+ set -o errexit
10+ set -o nounset
11+ set -o pipefail
12+
13+ attrPath=$1
14+
15+ toplevel=$(git rev-parse --show-toplevel)
16+ position=$(nix eval -f "$toplevel" --raw "$attrPath.meta.position")
17+ gemdir=$(dirname "$position")
18+
19+ cd "$gemdir"
20+
21+ bundler lock --update
22+ bundler-audit check --update
23+ bundix
24+ '';
25+in [ updateScript attrPath ]
pkgs/development/ruby-modules/solargraph/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp rec {
44 pname = "solargraph";
55 exes = ["solargraph" "solargraph-runtime"];
66 gemdir = ./.;
77
8+ passthru.updateScript = bundlerUpdateScript "solargraph";
9+
810 meta = with lib; {
911 description = "IDE tools for the Ruby language";
1012 homepage = http://www.github.com/castwide/solargraph;
1113 license = licenses.mit;
12− maintainers = with maintainers; [ worldofpeace ];
14+ maintainers = with maintainers; [ worldofpeace nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/build-managers/drake/default.nix+4−2
@@ -1,14 +1,16 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "drake";
55 gemdir = ./.;
66 exes = [ "drake" ];
77
8+ passthru.updateScript = bundlerUpdateScript "drake";
9+
810 meta = with lib; {
911 description = "A branch of Rake supporting automatic parallelizing of tasks";
1012 homepage = http://quix.github.io/rake/;
11− maintainers = with maintainers; [ romildo manveru ];
13+ maintainers = with maintainers; [ romildo manveru nicknovitski ];
1214 license = licenses.mit;
1315 platforms = platforms.unix;
1416 };
pkgs/development/tools/build-managers/rake/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "rake";
55 gemdir = ./.;
66 exes = [ "rake" ];
77
8+ passthru.updateScript = bundlerUpdateScript "rake";
9+
810 meta = with lib; {
911 description = "A software task management and build automation tool";
1012 homepage = https://github.com/ruby/rake;
1113 license = with licenses; mit;
12− maintainers = with maintainers; [ manveru ];
14+ maintainers = with maintainers; [ manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/cadre/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "cadre";
55 gemdir = ./.;
66 exes = [ "cadre" ];
77
8+ passthru.updateScript = bundlerUpdateScript "cadre";
9+
810 meta = with lib; {
911 description = "Toolkit to add Ruby development - in-editor coverage, libnotify of test runs";
1012 homepage = https://github.com/nyarly/cadre;
1113 license = licenses.mit;
12− maintainers = [ maintainers.nyarly ];
14+ maintainers = with maintainers; [ nyarly nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/cbor-diag/default.nix+4−3
@@ -1,9 +1,8 @@
1−{ lib, bundlerApp, ruby }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "cbor-diag";
55
6− inherit ruby;
76 gemdir = ./.;
87
98 exes = [
@@ -20,11 +19,13 @@ bundlerApp {
2019 "yaml2cbor.rb"
2120 ];
2221
22+ passthru.updateScript = bundlerUpdateScript "cbor-diag";
23+
2324 meta = with lib; {
2425 description = "CBOR diagnostic utilities";
2526 homepage = https://github.com/cabo/cbor-diag;
2627 license = with licenses; asl20;
27− maintainers = with maintainers; [ fdns ];
28+ maintainers = with maintainers; [ fdns nicknovitski ];
2829 platforms = platforms.unix;
2930 };
3031}
pkgs/development/tools/cddl/default.nix+4−3
@@ -1,17 +1,18 @@
1−{ lib, bundlerApp, ruby }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "cddl";
55
6− inherit ruby;
76 gemdir = ./.;
87 exes = [ "cddl" ];
98
9+ passthru.updateScript = bundlerUpdateScript "cddl";
10+
1011 meta = with lib; {
1112 description = "A parser, generator, and validator for CDDL";
1213 homepage = https://rubygems.org/gems/cddl;
1314 license = with licenses; mit;
14− maintainers = with maintainers; [ fdns ];
15+ maintainers = with maintainers; [ fdns nicknovitski ];
1516 platforms = platforms.unix;
1617 };
1718}
pkgs/development/tools/chefdk/default.nix+6−6
@@ -1,20 +1,20 @@
1−{ lib, bundlerEnv, ruby_2_4, perl, autoconf }:
1+{ lib, bundlerEnv, bundlerUpdateScript, ruby_2_4, perl, autoconf }:
22
3−bundlerEnv {
4− # Last updated via:
5− # nix-shell -p bundix -p gcc -p libxml2 -p zlib --run "bundix -mdl"
6− name = "chefdk-2.4.17";
3+bundlerEnv rec {
4+ pname = "chef-dk";
75
86 ruby = ruby_2_4;
97 gemdir = ./.;
108
119 buildInputs = [ perl autoconf ];
1210
11+ passthru.updateScript = bundlerUpdateScript "chefdk";
12+
1313 meta = with lib; {
1414 description = "A streamlined development and deployment workflow for Chef platform";
1515 homepage = https://downloads.chef.io/chef-dk/;
1616 license = licenses.asl20;
17− maintainers = with maintainers; [ offline ];
17+ maintainers = with maintainers; [ offline nicknovitski ];
1818 platforms = platforms.unix;
1919 };
2020}
pkgs/development/tools/compass/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "compass";
55 gemdir = ./.;
66 exes = [ "compass" ];
77
8+ passthru.updateScript = bundlerUpdateScript "compass";
9+
810 meta = with lib; {
911 description = "Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain";
1012 homepage = https://github.com/Compass/compass;
1113 license = with licenses; mit;
12− maintainers = with maintainers; [ offline manveru ];
14+ maintainers = with maintainers; [ offline manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/continuous-integration/cide/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, lib, bundlerEnv, makeWrapper, docker, git, gnutar, gzip }:
1+{ stdenv, lib, bundlerEnv, bundlerUpdateScript, makeWrapper, docker, git, gnutar, gzip }:
22
33stdenv.mkDerivation rec {
44 name = "cide-${version}";
@@ -20,11 +20,13 @@ stdenv.mkDerivation rec {
2020 --set PATH ${stdenv.lib.makeBinPath [ docker git gnutar gzip ]}
2121 '';
2222
23+ passthru.updateScript = bundlerUpdateScript "cide";
24+
2325 meta = with lib; {
2426 description = "Isolated test runner with Docker";
2527 homepage = http://zimbatm.github.io/cide/;
2628 license = licenses.mit;
27− maintainers = with maintainers; [ zimbatm ];
29+ maintainers = with maintainers; [ zimbatm nicknovitski ];
2830 platforms = docker.meta.platforms;
2931 };
3032}
pkgs/development/tools/corundum/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "corundum";
55 gemdir = ./.;
66 exes = [ "corundum-skel" ];
77
8+ passthru.updateScript = bundlerUpdateScript "corundum";
9+
810 meta = with lib; {
911 description = "Tool and libraries for maintaining Ruby gems.";
1012 homepage = https://github.com/nyarly/corundum;
1113 license = licenses.mit;
12− maintainers = [ maintainers.nyarly ];
14+ maintainers = with maintainers; [ nyarly nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/cucumber/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "cucumber";
55 gemdir = ./.;
66 exes = [ "cucumber" ];
77
8+ passthru.updateScript = bundlerUpdateScript "cucumber";
9+
810 meta = with lib; {
911 description = "A tool for executable specifications";
1012 homepage = https://cucumber.io/;
1113 license = with licenses; mit;
12− maintainers = with maintainers; [ manveru ];
14+ maintainers = with maintainers; [ manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/github-changelog-generator/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp}:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp rec {
44 pname = "github_changelog_generator";
55 gemdir = ./.;
66 exes = [ "github_changelog_generator" ];
77
8+ passthru.updateScript = bundlerUpdateScript "github-changelog-generator";
9+
810 meta = with lib; {
911 description = "Fully automated changelog generation - This gem generates a changelog file based on tags, issues and merged pull requests";
1012 homepage = https://github.com/github-changelog-generator/github-changelog-generator;
1113 license = licenses.mit;
12− maintainers = with maintainers; [ Scriptkiddi ];
14+ maintainers = with maintainers; [ Scriptkiddi nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/jazzy/default.nix+3−3
@@ -1,12 +1,11 @@
1−{ lib, bundlerApp, ruby }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp rec {
4− inherit ruby;
54 pname = "jazzy";
65 gemdir = ./.;
76 exes = [ "jazzy" ];
87
9− passthru.updateScript = ./update;
8+ passthru.updateScript = bundlerUpdateScript "jazzy";
109
1110 meta = with lib; {
1211 description = "A command-line utility that generates documentation for Swift or Objective-C";
@@ -16,6 +15,7 @@ bundlerApp rec {
1615 maintainers = with maintainers; [
1716 peterromfeldhk
1817 lilyball
18+ nicknovitski
1919 ];
2020 };
2121}
pkgs/development/tools/jazzy/updatedeleted−10
@@ -1,10 +0,0 @@
1−#!/usr/bin/env nix-shell
2−#! nix-shell -i bash -p bash bundler bundix
3−
4−set -e
5−
6−cd "$(dirname "${BASH_SOURCE[0]}")"
7−
8−rm -f Gemfile.lock
9−bundler lock
10−bundix
pkgs/development/tools/jsduck/default.nix+5−3
@@ -1,9 +1,9 @@
1−{ stdenv, lib, bundlerEnv, makeWrapper, }:
1+{ stdenv, lib, bundlerEnv, makeWrapper, bundlerUpdateScript }:
22
33stdenv.mkDerivation rec {
44 pname = "jsduck";
55 name = "${pname}-${version}";
6− version = "5.3.4";
6+ version = (import ./gemset.nix).jsduck.version;
77
88 env = bundlerEnv {
99 name = "${pname}";
@@ -21,11 +21,13 @@ stdenv.mkDerivation rec {
2121 makeWrapper ${env}/bin/jsduck $out/bin/jsduck
2222 '';
2323
24+ passthru.updateScript = bundlerUpdateScript "jsduck";
25+
2426 meta = with lib; {
2527 description = "Simple JavaScript Duckumentation generator.";
2628 homepage = https://github.com/senchalabs/jsduck;
2729 license = with licenses; gpl3;
28− maintainers = with stdenv.lib.maintainers; [ periklis ];
30+ maintainers = with maintainers; [ periklis nicknovitski ];
2931 platforms = platforms.unix;
3032 };
3133}
pkgs/development/tools/misc/mdl/.bundle/configdeleted−3
@@ -1,3 +0,0 @@
1−---
2−BUNDLE_PATH: "vendor/bundle"
3−BUNDLE_CACHE_ALL: "true"
pkgs/development/tools/misc/mdl/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "mdl";
55 gemdir = ./.;
66 exes = [ "mdl" ];
77
8+ passthru.updateScript = bundlerUpdateScript "mdl";
9+
810 meta = with lib; {
911 description = "A tool to check markdown files and flag style issues";
1012 homepage = https://github.com/markdownlint/markdownlint;
1113 license = licenses.mit;
12− maintainers = with maintainers; [ gerschtli manveru ];
14+ maintainers = with maintainers; [ gerschtli manveru nicknovitski ];
1315 platforms = platforms.all;
1416 };
1517}
pkgs/development/tools/misc/one_gadget/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "one_gadget";
55 gemdir = ./.;
66 exes = [ "one_gadget" ];
77
8+ passthru.updateScript = bundlerUpdateScript "one_gadget";
9+
810 meta = with lib; {
911 description = "The best tool for finding one gadget RCE in libc.so.6";
1012 homepage = https://github.com/david942j/one_gadget;
1113 license = licenses.mit;
12− maintainers = [ maintainers.artemist ];
14+ maintainers = with maintainers; [ artemist nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/misc/travis/default.nix+4−7
@@ -1,19 +1,16 @@
1−{ lib, bundlerEnv, ruby }:
2−
3−# Maintainer notes for updating
4−# 1. increment version number in Gemfile
5−# 2. run $ nix-shell --command "bundler install && bundix"
6−# in the travis directory in nixpkgs
1+{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
72
83bundlerEnv {
94 inherit ruby;
105 pname = "travis";
116 gemdir = ./.;
127
8+ passthru.updateScript = bundlerUpdateScript "travis";
9+
1310 meta = with lib; {
1411 description = "CLI and Ruby client library for Travis CI";
1512 homepage = https://github.com/travis-ci/travis.rb;
1613 license = licenses.mit;
17− maintainers = with maintainers; [ zimbatm ];
14+ maintainers = with maintainers; [ zimbatm nicknovitski ];
1815 };
1916}
pkgs/development/tools/misc/watson-ruby/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, bundlerEnv, ruby }:
1+{ stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
22
33
44stdenv.mkDerivation rec {
@@ -19,11 +19,13 @@ stdenv.mkDerivation rec {
1919 ln -s ${env}/bin/watson $out/bin/watson
2020 '';
2121
22+ passthru.updateScript = bundlerUpdateScript "watson-ruby";
23+
2224 meta = with stdenv.lib; {
2325 description = "An inline issue manager";
2426 homepage = http://goosecode.com/watson/;
2527 license = with licenses; mit;
26− maintainers = with maintainers; [ robertodr ];
28+ maintainers = with maintainers; [ robertodr nicknovitski ];
2729 platforms = platforms.unix;
2830 };
2931}
pkgs/development/tools/redis-dump/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "redis-dump";
55 gemdir = ./.;
66 exes = [ "redis-dump" ];
77
8+ passthru.updateScript = bundlerUpdateScript "redis-dump";
9+
810 meta = with lib; {
911 description = "Backup and restore your Redis data to and from JSON";
1012 homepage = http://delanotes.com/redis-dump/;
1113 license = licenses.mit;
12− maintainers = with maintainers; [ offline manveru ];
14+ maintainers = with maintainers; [ offline manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/ronn/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, lib, bundlerEnv, makeWrapper, groff }:
1+{ stdenv, lib, bundlerEnv, bundlerUpdateScript, makeWrapper, groff }:
22
33stdenv.mkDerivation rec {
44 name = "ronn-${version}";
@@ -19,11 +19,13 @@ stdenv.mkDerivation rec {
1919 --set PATH ${groff}/bin
2020 '';
2121
22+ passthru.updateScript = bundlerUpdateScript "ronn";
23+
2224 meta = with lib; {
2325 description = "markdown-based tool for building manpages";
2426 homepage = https://rtomayko.github.io/ronn/;
2527 license = licenses.mit;
26− maintainers = with maintainers; [ zimbatm ];
28+ maintainers = with maintainers; [ zimbatm nicknovitski ];
2729 platforms = env.ruby.meta.platforms;
2830 };
2931}
pkgs/development/tools/rubocop/default.nix+3−1
@@ -1,4 +1,4 @@
1−{ lib, bundlerEnv, ruby }:
1+{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
22
33bundlerEnv rec {
44 pname = "rubocop";
@@ -7,6 +7,8 @@ bundlerEnv rec {
77
88 gemdir = ./.;
99
10+ passthru.updateScript = bundlerUpdateScript "rubocop";
11+
1012 meta = with lib; {
1113 description = "Automatic Ruby code style checking tool";
1214 homepage = "https://docs.rubocop.org/";
pkgs/development/tools/sass/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "sass";
55 gemdir = ./.;
66 exes = [ "sass" "sass-convert" "scss" ];
77
8+ passthru.updateScript = bundlerUpdateScript "sass";
9+
810 meta = with lib; {
911 description = "Tools and Ruby libraries for the CSS3 extension languages: Sass and SCSS";
1012 homepage = https://sass-lang.com;
1113 license = licenses.mit;
12− maintainers = with maintainers; [ romildo manveru ];
14+ maintainers = with maintainers; [ romildo manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/scss-lint/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "scss_lint";
55 gemdir = ./.;
66 exes = [ "scss-lint" ];
77
8+ passthru.updateScript = bundlerUpdateScript "scss-lint";
9+
810 meta = with lib; {
911 description = "A tool to help keep your SCSS files clean and readable";
1012 homepage = https://github.com/brigade/scss-lint;
1113 license = licenses.mit;
12− maintainers = [ maintainers.lovek323 ];
14+ maintainers = with maintainers; [ lovek323 nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/development/tools/sqlint/default.nix+4−3
@@ -1,4 +1,4 @@
1−{ lib, bundlerApp, fetchurl, ruby }:
1+{ lib, bundlerApp, fetchurl, bundlerUpdateScript }:
22
33let
44 LIB_PG_QUERY_TAG = "10-1.0.1";
@@ -10,7 +10,6 @@ let
1010in bundlerApp {
1111 pname = "sqlint";
1212 gemdir = ./.;
13− inherit ruby;
1413
1514 exes = [ "sqlint" ];
1615
@@ -24,11 +23,13 @@ in bundlerApp {
2423 };
2524 };
2625
26+ passthru.updateScript = bundlerUpdateScript "sqlint";
27+
2728 meta = with lib; {
2829 description = "Simple SQL linter";
2930 homepage = https://github.com/purcell/sqlint;
3031 license = licenses.mit;
31− maintainers = with maintainers; [ ariutta ];
32+ maintainers = with maintainers; [ ariutta nicknovitski ];
3233 platforms = with platforms; [ "x86_64-linux" "x86_64-darwin" ];
3334 };
3435}
pkgs/development/tools/xcpretty/default.nix+2−8
@@ -1,4 +1,4 @@
1−{ lib, bundlerApp, bundler, bundix }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "xcpretty";
@@ -7,13 +7,7 @@ bundlerApp {
77 exes = [ "xcpretty" ];
88
99 passthru = {
10− updateScript = ''
11− set -e
12− echo
13− cd ${toString ./.}
14− ${bundler}/bin/bundle lock --update
15− ${bundix}/bin/bundix
16− '';
10+ updateScript = bundlerUpdateScript "xcpretty";
1711 };
1812
1913 meta = with lib; {
pkgs/development/web/mailcatcher/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "mailcatcher";
55 gemdir = ./.;
66 exes = [ "mailcatcher" "catchmail" ];
77
8+ passthru.updateScript = bundlerUpdateScript "mailcatcher";
9+
810 meta = with lib; {
911 description = "SMTP server and web interface to locally test outbound emails";
1012 homepage = https://mailcatcher.me/;
1113 license = licenses.mit;
12− maintainers = [ maintainers.zarelit ];
14+ maintainers = with maintainers; [ zarelit nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/servers/http/showoff/default.nix+4−2
@@ -1,16 +1,18 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "showoff";
55 gemdir = ./.;
66 exes = [ "showoff" ];
77
8+ passthru.updateScript = bundlerUpdateScript "showoff";
9+
810 meta = with lib; {
911 description = "A slideshow presentation tool with a twist";
1012 longDescription = "It runs as a web application, with audience interactivity features. This means that your audience can follow along in their own browsers, can download supplemental materials, can participate in quizzes or polls, post questions for the presenter, etc. By default, their slideshows will synchronize with the presenter, but they can switch to self-navigation mode";
1113 homepage = https://puppetlabs.github.io/showoff/;
1214 license = with licenses; mit;
1315 platforms = platforms.unix;
14− maintainers = with maintainers; [ mwilsoninsight ];
16+ maintainers = with maintainers; [ mwilsoninsight nicknovitski ];
1517 };
1618}
pkgs/servers/monitoring/riemann-dash/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ bundlerApp, lib }:
1+{ bundlerApp, lib, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "riemann-dash";
55 gemdir = ./.;
66 exes = [ "riemann-dash" ];
77
8+ passthru.updateScript = bundlerUpdateScript "riemann-dash";
9+
810 meta = with lib; {
911 description = "A javascript, websockets-powered dashboard for Riemann";
1012 homepage = https://github.com/riemann/riemann-dash;
1113 license = licenses.mit;
12− maintainers = with maintainers; [ manveru ];
14+ maintainers = with maintainers; [ manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/servers/monitoring/sensu/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "sensu";
@@ -42,11 +42,13 @@ bundlerApp {
4242 "check-systemd.rb"
4343 ];
4444
45+ passthru.updateScript = bundlerUpdateScript "sensu";
46+
4547 meta = with lib; {
4648 description = "A monitoring framework that aims to be simple, malleable, and scalable";
4749 homepage = https://sensuapp.org/;
4850 license = licenses.mit;
49− maintainers = with maintainers; [ theuni peterhoeg manveru ];
51+ maintainers = with maintainers; [ theuni peterhoeg manveru nicknovitski ];
5052 platforms = platforms.unix;
5153 };
5254}
pkgs/tools/admin/fastlane/default.nix+4−1
@@ -1,4 +1,4 @@
1−{ stdenv, bundlerEnv, ruby, makeWrapper }:
1+{ stdenv, bundlerEnv, ruby, bundlerUpdateScript, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 name = "${pname}-${version}";
@@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
2121 --set FASTLANE_SKIP_UPDATE_CHECK 1
2222 '';
2323
24+ passthru.updateScript = bundlerUpdateScript "fastlane";
25+
2426 meta = with stdenv.lib; {
2527 description = "A tool to automate building and releasing iOS and Android apps";
2628 longDescription = "fastlane is a tool for iOS and Android developers to automate tedious tasks like generating screenshots, dealing with provisioning profiles, and releasing your application.";
@@ -28,6 +30,7 @@ stdenv.mkDerivation rec {
2830 license = licenses.mit;
2931 maintainers = with maintainers; [
3032 peterromfeldhk
33+ nicknovitski
3134 ];
3235 };
3336}
pkgs/tools/admin/fastlane/updatedeleted−10
@@ -1,10 +0,0 @@
1−#!/usr/bin/env nix-shell
2−#! nix-shell -i bash -p bash ruby bundler bundix
3−
4−rm Gemfile.lock
5−bundler install
6−bundix
7−
8−if [ "clean" == "$1" ]; then
9− rm -r ~/.gem
10−fi
pkgs/tools/admin/oxidized/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, ruby, bundlerApp }:
1+{ lib, ruby, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp rec {
44 pname = "oxidized";
@@ -8,11 +8,13 @@ bundlerApp rec {
88
99 exes = [ "oxidized" "oxidized-web" "oxidized-script" ];
1010
11+ passthru.updateScript = bundlerUpdateScript "oxidized";
12+
1113 meta = with lib; {
1214 description = "Oxidized is a network device configuration backup tool. It's a RANCID replacement!";
1315 homepage = https://github.com/ytti/oxidized;
1416 license = licenses.asl20;
15− maintainers = [ maintainers.willibutz ];
17+ maintainers = with maintainers; [ willibutz nicknovitski ];
1618 platforms = platforms.linux;
1719 };
1820}
pkgs/tools/backup/lvmsync/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, bundlerEnv, ruby, makeWrapper }:
1+{ stdenv, bundlerEnv, ruby, bundlerUpdateScript, makeWrapper }:
22
33let
44
@@ -26,12 +26,14 @@ in stdenv.mkDerivation rec {
2626 makeWrapper ${env}/bin/lvmsync $out/bin/lvmsync
2727 '';
2828
29+ passthru.updateScript = bundlerUpdateScript "lvmsync";
30+
2931 meta = with stdenv.lib; {
3032 description = "Optimised synchronisation of LVM snapshots over a network";
3133 homepage = http://theshed.hezmatt.org/lvmsync/;
3234 license = licenses.gpl3;
3335 platforms = platforms.all;
34− maintainers = with maintainers; [ jluttine ];
36+ maintainers = with maintainers; [ jluttine nicknovitski ];
3537 };
3638
3739}
pkgs/tools/inputmethods/fusuma/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, bundlerApp, makeWrapper, libinput }:
1+{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, libinput }:
22
33bundlerApp {
44 pname = "fusuma";
@@ -12,11 +12,13 @@ bundlerApp {
1212 --prefix PATH : ${lib.makeBinPath [ libinput ]}
1313 '';
1414
15+ passthru.updateScript = bundlerUpdateScript "fusuma";
16+
1517 meta = with lib; {
1618 description = "Multitouch gestures with libinput driver on X11, Linux";
1719 homepage = https://github.com/iberianpig/fusuma;
1820 license = licenses.mit;
19− maintainers = with maintainers; [ jfrankenau ];
21+ maintainers = with maintainers; [ jfrankenau nicknovitski ];
2022 platforms = platforms.linux;
2123 };
2224}
pkgs/tools/misc/docker-sync/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, ruby, bundlerApp }:
1+{ lib, ruby, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "docker-sync";
@@ -8,11 +8,13 @@ bundlerApp {
88
99 exes = ["docker-sync"];
1010
11+ passthru.updateScript = bundlerUpdateScript "docker-sync";
12+
1113 meta = with lib; {
1214 description = "Run your application at full speed while syncing your code for development";
1315 homepage = http://docker-sync.io;
1416 license = licenses.gpl3;
15− maintainers = [ maintainers.manveru ];
17+ maintainers = with maintainers; [ manveru nicknovitski ];
1618 platforms = platforms.unix;
1719 };
1820}
pkgs/tools/misc/fluentd/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, bundlerEnv, ruby }:
1+{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
22
33bundlerEnv {
44 inherit ruby;
@@ -6,11 +6,13 @@ bundlerEnv {
66 pname = "fluentd";
77 gemdir = ./.;
88
9+ passthru.updateScript = bundlerUpdateScript "fluentd";
10+
911 meta = with lib; {
1012 description = "A data collector";
1113 homepage = https://www.fluentd.org/;
1214 license = licenses.asl20;
13− maintainers = with maintainers; [ offline ];
15+ maintainers = with maintainers; [ offline nicknovitski ];
1416 platforms = platforms.unix;
1517 };
1618}
pkgs/tools/misc/homesick/default.nix+5−3
@@ -1,6 +1,6 @@
1−{ lib, bundlerEnv, git}:
1+{ lib, bundlerEnv, bundlerUpdateScript, git }:
22bundlerEnv {
3− name = "homesick-1.1.6";
3+ pname = "homesick";
44
55 gemdir = ./.;
66
@@ -10,6 +10,8 @@ bundlerEnv {
1010 sed 1a'ENV["PATH"] = "${git}/bin:#{ENV["PATH"] ? ":#{ENV["PATH"]}" : "" }"' -i $out/bin/homesick
1111 '';
1212
13+ passthru.updateScript = bundlerUpdateScript "homesick";
14+
1315 meta = with lib; {
1416 description = "Your home directory is your castle. Don't leave your dotfiles behind";
1517 longDescription =
@@ -20,7 +22,7 @@ bundlerEnv {
2022 '';
2123 homepage = https://github.com/technicalpickles/homesick;
2224 license = licenses.mit;
23− maintainers = with maintainers; [ aaronschif ];
25+ maintainers = with maintainers; [ aaronschif nicknovitski ];
2426 platforms = platforms.unix;
2527 };
2628}
pkgs/tools/misc/lolcat/default.nix+4−2
@@ -1,14 +1,16 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "lolcat";
55 gemdir = ./.;
66 exes = [ "lolcat" ];
77
8+ passthru.updateScript = bundlerUpdateScript "lolcat";
9+
810 meta = with lib; {
911 description = "A rainbow version of cat";
1012 homepage = https://github.com/busyloop/lolcat;
1113 license = licenses.bsd3;
12− maintainers = with maintainers; [ StillerHarpo manveru ];
14+ maintainers = with maintainers; [ StillerHarpo manveru nicknovitski ];
1315 };
1416}
pkgs/tools/misc/pws/default.nix+5−3
@@ -1,7 +1,7 @@
1−{ stdenv, lib, bundlerEnv, ruby, xsel, makeWrapper }:
1+{ stdenv, lib, bundlerEnv, ruby, bundlerUpdateScript, xsel, makeWrapper }:
22
33stdenv.mkDerivation rec {
4− name = "pws-1.0.6";
4+ name = "pws-${(import ./gemset.nix).pws.version}";
55
66 env = bundlerEnv {
77 name = "${name}-gems";
@@ -21,11 +21,13 @@ stdenv.mkDerivation rec {
2121 --set PATH '"${xsel}/bin/:$PATH"'
2222 '';
2323
24+ passthru.updateScript = bundlerUpdateScript "pws";
25+
2426 meta = with lib; {
2527 description = "Command-line password safe";
2628 homepage = https://github.com/janlelis/pws;
2729 license = licenses.mit;
28− maintainers = [ maintainers.swistak35 ];
30+ maintainers = with maintainers; [ swistak35 nicknovitski ];
2931 platforms = platforms.unix;
3032 };
3133}
pkgs/tools/misc/riemann-tools/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "riemann-tools";
@@ -26,10 +26,12 @@ bundlerApp {
2626 "riemann-zookeeper"
2727 ];
2828
29+ passthru.updateScript = bundlerUpdateScript "riemann-tools";
30+
2931 meta = with lib; {
3032 description = "Tools to submit data to Riemann";
3133 homepage = "https://riemann.io";
32− maintainers = with maintainers; [ manveru ];
34+ maintainers = with maintainers; [ manveru nicknovitski ];
3335 license = licenses.mit;
3436 };
3537}
pkgs/tools/misc/t/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "t";
55 gemdir = ./.;
66 exes = [ "t" ];
77
8+ passthru.updateScript = bundlerUpdateScript "t";
9+
810 meta = with lib; {
911 description = "A command-line power tool for Twitter";
1012 homepage = http://sferik.github.io/t/;
1113 license = licenses.asl20;
12− maintainers = with maintainers; [ offline manveru ];
14+ maintainers = with maintainers; [ offline manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/tools/misc/td/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "td";
55 gemdir = ./.;
66 exes = [ "td" ];
77
8+ passthru.updateScript = bundlerUpdateScript "td";
9+
810 meta = with lib; {
911 description = "CLI to manage data on Treasure Data, the Hadoop-based cloud data warehousing.";
1012 homepage = https://github.com/treasure-data/td;
1113 license = licenses.asl20;
12− maintainers = with maintainers; [ groodt ];
14+ maintainers = with maintainers; [ groodt nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/tools/misc/teamocil/default.nix+4−1
@@ -1,10 +1,12 @@
1−{ lib, bundlerEnv, ruby }:
1+{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
22
33bundlerEnv rec {
44 inherit ruby;
55 pname = "teamocil";
66 gemdir = ./.;
77
8+ passthru.updateScript = bundlerUpdateScript "teamocil";
9+
810 meta = with lib; {
911 description = "A simple tool used to automatically create windows and panes in tmux with YAML files";
1012 homepage = https://github.com/remiprev/teamocil;
@@ -12,6 +14,7 @@ bundlerEnv rec {
1214 platforms = platforms.all;
1315 maintainers = with maintainers; [
1416 zachcoyle
17+ nicknovitski
1518 ];
1619 };
1720}
pkgs/tools/misc/teamocil/updatedeleted−10
@@ -1,10 +0,0 @@
1−#!/usr/bin/env nix-shell
2−#! nix-shell -i bash -p bash ruby bundler bundix
3−
4−rm Gemfile.lock
5−bundler install
6−bundix
7−
8−if [ "clean" == "$1" ]; then
9− rm -rf ~/.gem
10−fi
pkgs/tools/networking/hue-cli/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "hue-cli";
55 gemdir = ./.;
66 exes = [ "hue" ];
77
8+ passthru.updateScript = bundlerUpdateScript "hue-cli";
9+
810 meta = with lib; {
911 description = "Command line interface for controlling Philips Hue system's lights and bridge";
1012 homepage = https://github.com/birkirb/hue-cli;
1113 license = licenses.mit;
1214 platforms = platforms.unix;
13− maintainers = with maintainers; [ manveru ];
15+ maintainers = with maintainers; [ manveru nicknovitski ];
1416 };
1517}
pkgs/tools/networking/maphosts/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ stdenv, lib, bundlerEnv, ruby }:
1+{ stdenv, lib, bundlerEnv, ruby, bundlerUpdateScript }:
22
33stdenv.mkDerivation rec {
44 name = "maphosts-${env.gems.maphosts.version}";
@@ -16,11 +16,13 @@ stdenv.mkDerivation rec {
1616 ln -s "${env}/bin/maphosts" "$out/bin/maphosts"
1717 '';
1818
19+ passthru.updateScript = bundlerUpdateScript "maphosts";
20+
1921 meta = with lib; {
2022 description = "Small command line application for keeping your project hostnames in sync with /etc/hosts";
2123 homepage = https://github.com/mpscholten/maphosts;
2224 license = licenses.mit;
23− maintainers = with maintainers; [ mpscholten ];
25+ maintainers = with maintainers; [ mpscholten nicknovitski ];
2426 platforms = platforms.all;
2527 };
2628}
pkgs/tools/package-management/elm-github-install/default.nix+6−2
@@ -1,17 +1,21 @@
1−{ lib, bundlerEnv, ruby }:
1+{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
22
33bundlerEnv rec {
4+ pname = "elm_install";
45 name = "elm-github-install-${version}";
56
67 version = (import ./gemset.nix).elm_install.version;
8+
79 inherit ruby;
810 gemdir = ./.;
911
12+ passthru.updateScript = bundlerUpdateScript "elm-github-install";
13+
1014 meta = with lib; {
1115 description = "Install Elm packages from git repositories.";
1216 homepage = https://github.com/gdotdesign/elm-github-install;
1317 license = licenses.unfree;
14− maintainers = [ maintainers.roberth ];
18+ maintainers = with maintainers; [ roberth nicknovitski ];
1519 platforms = platforms.all;
1620 };
1721}
pkgs/tools/package-management/fpm/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "fpm";
55 gemdir = ./.;
66 exes = [ "fpm" ];
77
8+ passthru.updateScript = bundlerUpdateScript "fpm";
9+
810 meta = with lib; {
911 description = "Tool to build packages for multiple platforms with ease";
1012 homepage = https://github.com/jordansissel/fpm;
1113 license = licenses.mit;
12− maintainers = with maintainers; [ manveru ];
14+ maintainers = with maintainers; [ manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/tools/package-management/fpm/updatedeleted−10
@@ -1,10 +0,0 @@
1−#!/usr/bin/env nix-shell
2−#! nix-shell -i bash -p bash ruby bundler bundix
3−
4−rm Gemfile.lock
5−bundler install
6−bundix
7−
8−if [ "clean" == "$1" ]; then
9− rm -r ~/.gem
10−fi
pkgs/tools/security/bundler-audit/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ bundlerEnv, ruby, lib }:
1+{ bundlerEnv, ruby, lib, bundlerUpdateScript }:
22
33bundlerEnv rec {
44 name = "${pname}-${version}";
@@ -8,6 +8,8 @@ bundlerEnv rec {
88 inherit ruby;
99 gemdir = ./.;
1010
11+ passthru.updateScript = bundlerUpdateScript "bundler-audit";
12+
1113 meta = with lib; {
1214 description = "Patch-level verification for Bundler";
1315 longDescription = ''
@@ -20,7 +22,7 @@ bundlerEnv rec {
2022 '';
2123 homepage = https://github.com/rubysec/bundler-audit;
2224 license = licenses.gpl3Plus;
23− maintainers = with maintainers; [ primeos ];
25+ maintainers = with maintainers; [ primeos nicknovitski ];
2426 platforms = platforms.unix;
2527 };
2628}
pkgs/tools/system/colorls/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, bundlerApp, ruby, ... }:
1+{ lib, bundlerApp, ruby, bundlerUpdateScript }:
22
33bundlerApp rec {
44 pname = "colorls";
@@ -6,11 +6,13 @@ bundlerApp rec {
66 gemdir = ./.;
77 exes = [ "colorls" ];
88
9+ passthru.updateScript = bundlerUpdateScript "colorls";
10+
911 meta = with lib; {
1012 description = "Prettified LS";
1113 homepage = https://github.com/athityakumar/colorls;
1214 license = with licenses; mit;
13− maintainers = with maintainers; [ lukebfox ];
15+ maintainers = with maintainers; [ lukebfox nicknovitski ];
1416 platforms = ruby.meta.platforms;
1517 };
1618}
pkgs/tools/system/hiera-eyaml/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerEnv, ruby }:
1+{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
22
33bundlerEnv {
44 inherit ruby;
55 pname = "hiera-eyaml";
66 gemdir = ./.;
77
8+ passthru.updateScript = bundlerUpdateScript "hiera-eyaml";
9+
810 meta = with lib; {
911 description = "Per-value asymmetric encryption of sensitive data for Hiera";
1012 homepage = https://github.com/TomPoulton/hiera-eyaml;
1113 license = licenses.mit;
12− maintainers = [ maintainers.benley ];
14+ maintainers = with maintainers; [ benley nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/tools/system/procodile/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "procodile";
55 gemdir = ./.;
66 exes = [ "procodile" ];
77
8+ passthru.updateScript = bundlerUpdateScript "procodile";
9+
810 meta = with lib; {
911 description = "Run processes in the background (and foreground) on Mac & Linux from a Procfile (for production and/or development environments)";
1012 homepage = https://adam.ac/procodile;
1113 license = with licenses; mit;
12− maintainers = with maintainers; [ ravloony manveru ];
14+ maintainers = with maintainers; [ ravloony manveru nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/tools/system/r10k/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, bundlerApp, makeWrapper, git, gnutar, gzip }:
1+{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, git, gnutar, gzip }:
22
33bundlerApp {
44 pname = "r10k";
@@ -11,11 +11,13 @@ bundlerApp {
1111 wrapProgram $out/bin/r10k --prefix PATH : ${lib.makeBinPath [ git gnutar gzip ]}
1212 '';
1313
14+ passthru.updateScript = bundlerUpdateScript "r10k";
15+
1416 meta = with lib; {
1517 description = "Puppet environment and module deployment";
1618 homepage = https://github.com/puppetlabs/r10k;
1719 license = licenses.asl20;
18− maintainers = with maintainers; [ zimbatm manveru ];
20+ maintainers = with maintainers; [ zimbatm manveru nicknovitski ];
1921 platforms = platforms.unix;
2022 };
2123}
pkgs/tools/text/bcat/default.nix+4−2
@@ -1,15 +1,17 @@
1−{ lib, bundlerApp }:
1+{ lib, bundlerApp, bundlerUpdateScript }:
22
33bundlerApp {
44 pname = "bcat";
55 gemdir = ./.;
66 exes = [ "bcat" "btee" "a2h" ];
77
8+ passthru.updateScript = bundlerUpdateScript "bcat";
9+
810 meta = with lib; {
911 description = "Pipe to browser utility";
1012 homepage = http://rtomayko.github.com/bcat/;
1113 license = licenses.mit;
12− maintainers = [ maintainers.jraygauthier ];
14+ maintainers = with maintainers; [ jraygauthier nicknovitski ];
1315 platforms = platforms.unix;
1416 };
1517}
pkgs/tools/text/papertrail/default.nix+11−2
@@ -1,7 +1,6 @@
1−{ stdenv, bundlerEnv, ruby}:
1+{ stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
22
33let
4− # To update, just run `nix-shell` in this directory.
54 papertrail-env = bundlerEnv rec {
65 name = "papertrail-env";
76 inherit ruby;
@@ -18,4 +17,14 @@ in stdenv.mkDerivation {
1817 mkdir -p $out/bin
1918 ln -s ${papertrail-env}/bin/papertrail $out/bin/papertrail
2019 '';
20+
21+ passthru.updateScript = bundlerUpdateScript "papertrail";
22+
23+ meta = with stdenv.lib; {
24+ description = "Command-line client for Papertrail log management service";
25+ homepage = http://github.com/papertrail/papertrail-cli/;
26+ license = licenses.mit;
27+ maintainers = with maintainers; [ nicknovitski ];
28+ platforms = ruby.meta.platforms;
29+ };
2130}
pkgs/tools/text/papertrail/shell.nixdeleted−19
@@ -1,19 +0,0 @@
1−{ pkgs ? import <nixpkgs> {} }:
2−
3−pkgs.stdenv.mkDerivation {
4− name = "papertrail";
5− src = ./.;
6−
7− buildInputs = with pkgs; [
8− bundix
9− bundler
10− ruby
11− ];
12−
13− shellHook = ''
14− truncate --size 0 Gemfile.lock
15− bundle install --path=vendor/bundle
16− rm -rf vendor .bundle
17− bundix
18− '';
19−}
pkgs/tools/text/reckon/default.nix+5−2
@@ -1,8 +1,8 @@
1−{ stdenv, lib, bundlerEnv, makeWrapper }:
1+{ stdenv, lib, bundlerEnv, bundlerUpdateScript, makeWrapper }:
22
33stdenv.mkDerivation rec {
44 name = "reckon-${version}";
5− version = "0.4.4";
5+ version = (import ./gemset.nix).reckon.version;
66
77 env = bundlerEnv {
88 name = "${name}-gems";
@@ -19,9 +19,12 @@ stdenv.mkDerivation rec {
1919 makeWrapper ${env}/bin/reckon $out/bin/reckon
2020 '';
2121
22+ passthru.updateScript = bundlerUpdateScript "reckon";
23+
2224 meta = with lib; {
2325 description = "Flexibly import bank account CSV files into Ledger for command line accounting";
2426 license = licenses.mit;
27+ maintainers = with maintainers; [ nicknovitski ];
2528 platforms = platforms.unix;
2629 };
2730}
pkgs/tools/text/ruby-zoom/default.nix+4−2
@@ -1,4 +1,4 @@
1−{ lib, bundlerEnv, ruby, stdenv }:
1+{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
22
33bundlerEnv {
44 pname = "ruby-zoom";
@@ -6,11 +6,13 @@ bundlerEnv {
66 inherit ruby;
77 gemdir = ./.;
88
9+ passthru.updateScript = bundlerUpdateScript "ruby-zoom";
10+
911 meta = with lib; {
1012 description = "Quickly open CLI search results in your favorite editor!";
1113 homepage = https://gitlab.com/mjwhitta/zoom;
1214 license = with licenses; gpl3;
13− maintainers = with stdenv.lib.maintainers; [ vmandela ];
15+ maintainers = with maintainers; [ vmandela nicknovitski ];
1416 platforms = platforms.unix;
1517 };
1618}
pkgs/tools/typesetting/asciidoctor/default.nix+3−9
@@ -1,8 +1,7 @@
11{ lib, bundlerApp, makeWrapper,
22 # Optional dependencies, can be null
33 epubcheck, kindlegen,
4− # For the update shell
5− mkShell, bundix
4+ bundlerUpdateScript
65}:
76
87let
@@ -26,21 +25,16 @@ let
2625 '';
2726
2827 passthru = {
29− inherit updateShell;
28+ updateScript = bundlerUpdateScript "asciidoctor";
3029 };
3130
3231 meta = with lib; {
3332 description = "A faster Asciidoc processor written in Ruby";
3433 homepage = https://asciidoctor.org/;
3534 license = licenses.mit;
36− maintainers = with maintainers; [ gpyh ];
35+ maintainers = with maintainers; [ gpyh nicknovitski ];
3736 platforms = platforms.unix;
3837 };
3938 };
40−
41− updateShell = mkShell {
42− inputsFrom = lib.attrValues app.gems;
43− buildInputs = [ bundix ];
44− };
4539in
4640 app
pkgs/tools/typesetting/asciidoctor/update.shdeleted−6
@@ -1,6 +0,0 @@
1−#!/usr/bin/env bash
2−nix-shell ../../../.. -A asciidoctor.updateShell --run '
3− rm gemset.nix Gemfile.lock
4− bundix -m --bundle-pack-path $TMPDIR/asciidoctor-ruby-bundle
5− rm -r .bundle
6−'
pkgs/top-level/all-packages.nix+1
@@ -8671,6 +8671,7 @@ in
86718671 bundler = callPackage ../development/ruby-modules/bundler { };
86728672 bundlerEnv = callPackage ../development/ruby-modules/bundler-env { };
86738673 bundlerApp = callPackage ../development/ruby-modules/bundler-app { };
8674+ bundlerUpdateScript = callPackage ../development/ruby-modules/bundler-update-script { };
86748675
86758676 bundler-audit = callPackage ../tools/security/bundler-audit { };
86768677