diff options
author | Will Dietz <w@wdtz.org> | 2018-11-27 09:30:43 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-11-27 09:40:17 -0600 |
commit | 97c8ede6cb02853ca300c12e869f1c3205da33c0 (patch) | |
tree | 38023630454052a0cdbeb187017e7b74500e5fa5 /pkgs/tools/text/gist | |
parent | 713afc7e00475f536039d8cea976876d371a38e6 (diff) |
gist: 4.6.2 -> 5.0.0, simplify
* default wrapper works fine now AFAICT
* Not sure that 'dontStrip' does anything here
(regardless doesn't seem to be useful any longer)
Diffstat (limited to 'pkgs/tools/text/gist')
-rw-r--r-- | pkgs/tools/text/gist/default.nix | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/pkgs/tools/text/gist/default.nix b/pkgs/tools/text/gist/default.nix index f5dcbb9191c6..7091031d28f0 100644 --- a/pkgs/tools/text/gist/default.nix +++ b/pkgs/tools/text/gist/default.nix @@ -1,21 +1,11 @@ -{ buildRubyGem, lib, ruby, makeWrapper }: +{ buildRubyGem, lib, ruby }: buildRubyGem rec { inherit ruby; name = "${gemName}-${version}"; gemName = "gist"; - version = "4.6.2"; - source.sha256 = "0zrw84k2982aiansmv2aj3101d3giwa58221n6aisvg5jq5kmiib"; - - buildInputs = [ makeWrapper ]; - - postInstall = '' - # Fix the default ruby wrapper - makeWrapper $out/${ruby.gemPath}/bin/gist $out/bin/gist \ - --set GEM_PATH $out/${ruby.gemPath}:${ruby}/${ruby.gemPath} - ''; - - dontStrip = true; + version = "5.0.0"; + source.sha256 = "1i0a73mzcjv4mj5vjqwkrx815ydsppx3v812lxxd9mk2s7cj1vyd"; meta = with lib; { description = "Upload code to https://gist.github.com (or github enterprise)"; |