summaryrefslogtreecommitdiff
path: root/pkgs/development/ruby-modules
diff options
context:
space:
mode:
authorVladimír Čunát <vladimir.cunat@nic.cz>2022-09-02 07:33:30 +0200
committerVladimír Čunát <vladimir.cunat@nic.cz>2022-09-02 07:33:30 +0200
commit11656ec9a93ada685e5a6a35d9efadcd24ab66bb (patch)
tree4c14feac47c6a52584f4c25b7e089023fe6db7c4 /pkgs/development/ruby-modules
parentMerge master into staging-next (diff)
parentRevert "Merge #188995: bundler: 2.3.20 -> 2.3.21" (diff)
downloadnixpkgs-11656ec9a93ada685e5a6a35d9efadcd24ab66bb.tar.gz
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r--pkgs/development/ruby-modules/bundler/default.nix23
1 files changed, 3 insertions, 20 deletions
diff --git a/pkgs/development/ruby-modules/bundler/default.nix b/pkgs/development/ruby-modules/bundler/default.nix
index 8daf80400209..04f97c68c6a6 100644
--- a/pkgs/development/ruby-modules/bundler/default.nix
+++ b/pkgs/development/ruby-modules/bundler/default.nix
@@ -1,31 +1,14 @@
-{ lib, buildRubyGem, ruby, writeScript }:
+{ buildRubyGem, ruby }:
buildRubyGem rec {
inherit ruby;
name = "${gemName}-${version}";
gemName = "bundler";
- version = "2.3.21";
- source.sha256 = "sha256-+u3H/8Fno8U7ZMRj2me1DVvkOAR2HeWmjdo0TCG/0d4=";
+ version = "2.3.20";
+ source.sha256 = "sha256-gJJ3vHzrJo6XpHS1iwLb77jd9ZB39GGLcOJQSrgaBHw=";
dontPatchShebangs = true;
- passthru.updateScript = writeScript "gem-update-script" ''
- #!/usr/bin/env nix-shell
- #!nix-shell -i bash -p curl common-updater-scripts jq
-
- set -eu -o pipefail
-
- latest_version=$(curl -s https://rubygems.org/api/v1/gems/${gemName}.json | jq --raw-output .version)
- update-source-version ${gemName} "$latest_version"
- '';
-
postFixup = ''
sed -i -e "s/activate_bin_path/bin_path/g" $out/bin/bundle
'';
-
- meta = with lib; {
- description = "Manage your Ruby application's gem dependencies";
- homepage = "https://bundler.io";
- license = licenses.mit;
- maintainers = with maintainers; [anthonyroussel];
- };
}