bundlerUpdateScript: init and use (#64822)
parent
b24841dd22
commit
7136e0d0a6
@ -1,9 +0,0 @@ |
||||
#!/usr/bin/env nix-shell |
||||
#!nix-shell -i bash -p bundix bundler |
||||
|
||||
SCRIPT_DIR=$(dirname "$(readlink -f "$BASH_SOURCE")") |
||||
|
||||
cd $SCRIPT_DIR |
||||
|
||||
bundle lock --update |
||||
bundix |
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "pt"; |
||||
gemdir = ./.; |
||||
exes = [ "pt" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "pt"; |
||||
|
||||
meta = with lib; { |
||||
description = "Minimalist command-line Pivotal Tracker client"; |
||||
homepage = http://www.github.com/raul/pt; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ ebzzry manveru ]; |
||||
maintainers = with maintainers; [ ebzzry manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,17 +1,18 @@ |
||||
{ lib, bundlerApp, ruby }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "terraform_landscape"; |
||||
|
||||
inherit ruby; |
||||
gemdir = ./.; |
||||
exes = [ "landscape" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "terraform-landscape"; |
||||
|
||||
meta = with lib; { |
||||
description = "Improve Terraform's plan output to be easier to read and understand"; |
||||
homepage = https://github.com/coinbase/terraform-landscape; |
||||
license = with licenses; apsl20; |
||||
maintainers = with maintainers; [ mbode manveru ]; |
||||
maintainers = with maintainers; [ mbode manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "timetrap"; |
||||
gemdir = ./.; |
||||
exes = [ "t" "timetrap" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "timetrap"; |
||||
|
||||
meta = with lib; { |
||||
description = "A simple command line time tracker written in ruby"; |
||||
homepage = https://github.com/samg/timetrap; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ jerith666 manveru ]; |
||||
maintainers = with maintainers; [ jerith666 manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -0,0 +1,25 @@ |
||||
{ runtimeShell, lib, writeScript, bundix, bundler, bundler-audit, coreutils, git, nix }: |
||||
|
||||
attrPath: |
||||
|
||||
let |
||||
updateScript = writeScript "bundler-update-script" '' |
||||
#!${runtimeShell} |
||||
PATH=${lib.makeBinPath [ bundler bundler-audit bundix coreutils git nix ]} |
||||
set -o errexit |
||||
set -o nounset |
||||
set -o pipefail |
||||
|
||||
attrPath=$1 |
||||
|
||||
toplevel=$(git rev-parse --show-toplevel) |
||||
position=$(nix eval -f "$toplevel" --raw "$attrPath.meta.position") |
||||
gemdir=$(dirname "$position") |
||||
|
||||
cd "$gemdir" |
||||
|
||||
bundler lock --update |
||||
bundler-audit check --update |
||||
bundix |
||||
''; |
||||
in [ updateScript attrPath ] |
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp rec { |
||||
pname = "solargraph"; |
||||
exes = ["solargraph" "solargraph-runtime"]; |
||||
gemdir = ./.; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "solargraph"; |
||||
|
||||
meta = with lib; { |
||||
description = "IDE tools for the Ruby language"; |
||||
homepage = http://www.github.com/castwide/solargraph; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ worldofpeace ]; |
||||
maintainers = with maintainers; [ worldofpeace nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "rake"; |
||||
gemdir = ./.; |
||||
exes = [ "rake" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "rake"; |
||||
|
||||
meta = with lib; { |
||||
description = "A software task management and build automation tool"; |
||||
homepage = https://github.com/ruby/rake; |
||||
license = with licenses; mit; |
||||
maintainers = with maintainers; [ manveru ]; |
||||
maintainers = with maintainers; [ manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "cadre"; |
||||
gemdir = ./.; |
||||
exes = [ "cadre" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "cadre"; |
||||
|
||||
meta = with lib; { |
||||
description = "Toolkit to add Ruby development - in-editor coverage, libnotify of test runs"; |
||||
homepage = https://github.com/nyarly/cadre; |
||||
license = licenses.mit; |
||||
maintainers = [ maintainers.nyarly ]; |
||||
maintainers = with maintainers; [ nyarly nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -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; |
||||
}; |
||||
} |
||||
|
@ -1,20 +1,20 @@ |
||||
{ lib, bundlerEnv, ruby_2_4, perl, autoconf }: |
||||
{ lib, bundlerEnv, bundlerUpdateScript, ruby_2_4, perl, autoconf }: |
||||
|
||||
bundlerEnv { |
||||
# Last updated via: |
||||
# nix-shell -p bundix -p gcc -p libxml2 -p zlib --run "bundix -mdl" |
||||
name = "chefdk-2.4.17"; |
||||
bundlerEnv rec { |
||||
pname = "chef-dk"; |
||||
|
||||
ruby = ruby_2_4; |
||||
gemdir = ./.; |
||||
|
||||
buildInputs = [ perl autoconf ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "chefdk"; |
||||
|
||||
meta = with lib; { |
||||
description = "A streamlined development and deployment workflow for Chef platform"; |
||||
homepage = https://downloads.chef.io/chef-dk/; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ offline ]; |
||||
maintainers = with maintainers; [ offline nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "compass"; |
||||
gemdir = ./.; |
||||
exes = [ "compass" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "compass"; |
||||
|
||||
meta = with lib; { |
||||
description = "Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain"; |
||||
homepage = https://github.com/Compass/compass; |
||||
license = with licenses; mit; |
||||
maintainers = with maintainers; [ offline manveru ]; |
||||
maintainers = with maintainers; [ offline manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "corundum"; |
||||
gemdir = ./.; |
||||
exes = [ "corundum-skel" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "corundum"; |
||||
|
||||
meta = with lib; { |
||||
description = "Tool and libraries for maintaining Ruby gems."; |
||||
homepage = https://github.com/nyarly/corundum; |
||||
license = licenses.mit; |
||||
maintainers = [ maintainers.nyarly ]; |
||||
maintainers = with maintainers; [ nyarly nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "cucumber"; |
||||
gemdir = ./.; |
||||
exes = [ "cucumber" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "cucumber"; |
||||
|
||||
meta = with lib; { |
||||
description = "A tool for executable specifications"; |
||||
homepage = https://cucumber.io/; |
||||
license = with licenses; mit; |
||||
maintainers = with maintainers; [ manveru ]; |
||||
maintainers = with maintainers; [ manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp}: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp rec { |
||||
pname = "github_changelog_generator"; |
||||
gemdir = ./.; |
||||
exes = [ "github_changelog_generator" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "github-changelog-generator"; |
||||
|
||||
meta = with lib; { |
||||
description = "Fully automated changelog generation - This gem generates a changelog file based on tags, issues and merged pull requests"; |
||||
homepage = https://github.com/github-changelog-generator/github-changelog-generator; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ Scriptkiddi ]; |
||||
maintainers = with maintainers; [ Scriptkiddi nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,10 +0,0 @@ |
||||
#!/usr/bin/env nix-shell |
||||
#! nix-shell -i bash -p bash bundler bundix |
||||
|
||||
set -e |
||||
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")" |
||||
|
||||
rm -f Gemfile.lock |
||||
bundler lock |
||||
bundix |
@ -1,3 +0,0 @@ |
||||
--- |
||||
BUNDLE_PATH: "vendor/bundle" |
||||
BUNDLE_CACHE_ALL: "true" |
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "mdl"; |
||||
gemdir = ./.; |
||||
exes = [ "mdl" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "mdl"; |
||||
|
||||
meta = with lib; { |
||||
description = "A tool to check markdown files and flag style issues"; |
||||
homepage = https://github.com/markdownlint/markdownlint; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ gerschtli manveru ]; |
||||
maintainers = with maintainers; [ gerschtli manveru nicknovitski ]; |
||||
platforms = platforms.all; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "one_gadget"; |
||||
gemdir = ./.; |
||||
exes = [ "one_gadget" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "one_gadget"; |
||||
|
||||
meta = with lib; { |
||||
description = "The best tool for finding one gadget RCE in libc.so.6"; |
||||
homepage = https://github.com/david942j/one_gadget; |
||||
license = licenses.mit; |
||||
maintainers = [ maintainers.artemist ]; |
||||
maintainers = with maintainers; [ artemist nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -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 ]; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "redis-dump"; |
||||
gemdir = ./.; |
||||
exes = [ "redis-dump" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "redis-dump"; |
||||
|
||||
meta = with lib; { |
||||
description = "Backup and restore your Redis data to and from JSON"; |
||||
homepage = http://delanotes.com/redis-dump/; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ offline manveru ]; |
||||
maintainers = with maintainers; [ offline manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "sass"; |
||||
gemdir = ./.; |
||||
exes = [ "sass" "sass-convert" "scss" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "sass"; |
||||
|
||||
meta = with lib; { |
||||
description = "Tools and Ruby libraries for the CSS3 extension languages: Sass and SCSS"; |
||||
homepage = https://sass-lang.com; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ romildo manveru ]; |
||||
maintainers = with maintainers; [ romildo manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "scss_lint"; |
||||
gemdir = ./.; |
||||
exes = [ "scss-lint" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "scss-lint"; |
||||
|
||||
meta = with lib; { |
||||
description = "A tool to help keep your SCSS files clean and readable"; |
||||
homepage = https://github.com/brigade/scss-lint; |
||||
license = licenses.mit; |
||||
maintainers = [ maintainers.lovek323 ]; |
||||
maintainers = with maintainers; [ lovek323 nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "mailcatcher"; |
||||
gemdir = ./.; |
||||
exes = [ "mailcatcher" "catchmail" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "mailcatcher"; |
||||
|
||||
meta = with lib; { |
||||
description = "SMTP server and web interface to locally test outbound emails"; |
||||
homepage = https://mailcatcher.me/; |
||||
license = licenses.mit; |
||||
maintainers = [ maintainers.zarelit ]; |
||||
maintainers = with maintainers; [ zarelit nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,16 +1,18 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "showoff"; |
||||
gemdir = ./.; |
||||
exes = [ "showoff" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "showoff"; |
||||
|
||||
meta = with lib; { |
||||
description = "A slideshow presentation tool with a twist"; |
||||
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"; |
||||
homepage = https://puppetlabs.github.io/showoff/; |
||||
license = with licenses; mit; |
||||
platforms = platforms.unix; |
||||
maintainers = with maintainers; [ mwilsoninsight ]; |
||||
maintainers = with maintainers; [ mwilsoninsight nicknovitski ]; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ bundlerApp, lib }: |
||||
{ bundlerApp, lib, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "riemann-dash"; |
||||
gemdir = ./.; |
||||
exes = [ "riemann-dash" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "riemann-dash"; |
||||
|
||||
meta = with lib; { |
||||
description = "A javascript, websockets-powered dashboard for Riemann"; |
||||
homepage = https://github.com/riemann/riemann-dash; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ manveru ]; |
||||
maintainers = with maintainers; [ manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,10 +0,0 @@ |
||||
#!/usr/bin/env nix-shell |
||||
#! nix-shell -i bash -p bash ruby bundler bundix |
||||
|
||||
rm Gemfile.lock |
||||
bundler install |
||||
bundix |
||||
|
||||
if [ "clean" == "$1" ]; then |
||||
rm -r ~/.gem |
||||
fi |
@ -1,14 +1,16 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "lolcat"; |
||||
gemdir = ./.; |
||||
exes = [ "lolcat" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "lolcat"; |
||||
|
||||
meta = with lib; { |
||||
description = "A rainbow version of cat"; |
||||
homepage = https://github.com/busyloop/lolcat; |
||||
license = licenses.bsd3; |
||||
maintainers = with maintainers; [ StillerHarpo manveru ]; |
||||
maintainers = with maintainers; [ StillerHarpo manveru nicknovitski ]; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "t"; |
||||
gemdir = ./.; |
||||
exes = [ "t" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "t"; |
||||
|
||||
meta = with lib; { |
||||
description = "A command-line power tool for Twitter"; |
||||
homepage = http://sferik.github.io/t/; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ offline manveru ]; |
||||
maintainers = with maintainers; [ offline manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "td"; |
||||
gemdir = ./.; |
||||
exes = [ "td" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "td"; |
||||
|
||||
meta = with lib; { |
||||
description = "CLI to manage data on Treasure Data, the Hadoop-based cloud data warehousing."; |
||||
homepage = https://github.com/treasure-data/td; |
||||
license = licenses.asl20; |
||||
maintainers = with maintainers; [ groodt ]; |
||||
maintainers = with maintainers; [ groodt nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,10 +0,0 @@ |
||||
#!/usr/bin/env nix-shell |
||||
#! nix-shell -i bash -p bash ruby bundler bundix |
||||
|
||||
rm Gemfile.lock |
||||
bundler install |
||||
bundix |
||||
|
||||
if [ "clean" == "$1" ]; then |
||||
rm -rf ~/.gem |
||||
fi |
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "hue-cli"; |
||||
gemdir = ./.; |
||||
exes = [ "hue" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "hue-cli"; |
||||
|
||||
meta = with lib; { |
||||
description = "Command line interface for controlling Philips Hue system's lights and bridge"; |
||||
homepage = https://github.com/birkirb/hue-cli; |
||||
license = licenses.mit; |
||||
platforms = platforms.unix; |
||||
maintainers = with maintainers; [ manveru ]; |
||||
maintainers = with maintainers; [ manveru nicknovitski ]; |
||||
}; |
||||
} |
||||
|
@ -1,17 +1,21 @@ |
||||
{ lib, bundlerEnv, ruby }: |
||||
{ lib, bundlerEnv, ruby, bundlerUpdateScript }: |
||||
|
||||
bundlerEnv rec { |
||||
pname = "elm_install"; |
||||
name = "elm-github-install-${version}"; |
||||
|
||||
version = (import ./gemset.nix).elm_install.version; |
||||
|
||||
inherit ruby; |
||||
gemdir = ./.; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "elm-github-install"; |
||||
|
||||
meta = with lib; { |
||||
description = "Install Elm packages from git repositories."; |
||||
homepage = https://github.com/gdotdesign/elm-github-install; |
||||
license = licenses.unfree; |
||||
maintainers = [ maintainers.roberth ]; |
||||
maintainers = with maintainers; [ roberth nicknovitski ]; |
||||
platforms = platforms.all; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "fpm"; |
||||
gemdir = ./.; |
||||
exes = [ "fpm" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "fpm"; |
||||
|
||||
meta = with lib; { |
||||
description = "Tool to build packages for multiple platforms with ease"; |
||||
homepage = https://github.com/jordansissel/fpm; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ manveru ]; |
||||
maintainers = with maintainers; [ manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,10 +0,0 @@ |
||||
#!/usr/bin/env nix-shell |
||||
#! nix-shell -i bash -p bash ruby bundler bundix |
||||
|
||||
rm Gemfile.lock |
||||
bundler install |
||||
bundix |
||||
|
||||
if [ "clean" == "$1" ]; then |
||||
rm -r ~/.gem |
||||
fi |
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerEnv, ruby }: |
||||
{ lib, bundlerEnv, ruby, bundlerUpdateScript }: |
||||
|
||||
bundlerEnv { |
||||
inherit ruby; |
||||
pname = "hiera-eyaml"; |
||||
gemdir = ./.; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "hiera-eyaml"; |
||||
|
||||
meta = with lib; { |
||||
description = "Per-value asymmetric encryption of sensitive data for Hiera"; |
||||
homepage = https://github.com/TomPoulton/hiera-eyaml; |
||||
license = licenses.mit; |
||||
maintainers = [ maintainers.benley ]; |
||||
maintainers = with maintainers; [ benley nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "procodile"; |
||||
gemdir = ./.; |
||||
exes = [ "procodile" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "procodile"; |
||||
|
||||
meta = with lib; { |
||||
description = "Run processes in the background (and foreground) on Mac & Linux from a Procfile (for production and/or development environments)"; |
||||
homepage = https://adam.ac/procodile; |
||||
license = with licenses; mit; |
||||
maintainers = with maintainers; [ ravloony manveru ]; |
||||
maintainers = with maintainers; [ ravloony manveru nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,15 +1,17 @@ |
||||
{ lib, bundlerApp }: |
||||
{ lib, bundlerApp, bundlerUpdateScript }: |
||||
|
||||
bundlerApp { |
||||
pname = "bcat"; |
||||
gemdir = ./.; |
||||
exes = [ "bcat" "btee" "a2h" ]; |
||||
|
||||
passthru.updateScript = bundlerUpdateScript "bcat"; |
||||
|
||||
meta = with lib; { |
||||
description = "Pipe to browser utility"; |
||||
homepage = http://rtomayko.github.com/bcat/; |
||||
license = licenses.mit; |
||||
maintainers = [ maintainers.jraygauthier ]; |
||||
maintainers = with maintainers; [ jraygauthier nicknovitski ]; |
||||
platforms = platforms.unix; |
||||
}; |
||||
} |
||||
|
@ -1,19 +0,0 @@ |
||||
{ pkgs ? import <nixpkgs> {} }: |
||||
|
||||
pkgs.stdenv.mkDerivation { |
||||
name = "papertrail"; |
||||
src = ./.; |
||||
|
||||
buildInputs = with pkgs; [ |
||||
bundix |
||||
bundler |
||||
ruby |
||||
]; |
||||
|
||||
shellHook = '' |
||||
truncate --size 0 Gemfile.lock |
||||
bundle install --path=vendor/bundle |
||||
rm -rf vendor .bundle |
||||
bundix |
||||
''; |
||||
} |
@ -1,6 +0,0 @@ |
||||
#!/usr/bin/env bash |
||||
nix-shell ../../../.. -A asciidoctor.updateShell --run ' |
||||
rm gemset.nix Gemfile.lock |
||||
bundix -m --bundle-pack-path $TMPDIR/asciidoctor-ruby-bundle |
||||
rm -r .bundle |
||||
' |
Loading…
Reference in new issue