aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/tools/coursier/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/tools/coursier/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/tools/coursier/default.nix13
1 files changed, 3 insertions, 10 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/tools/coursier/default.nix b/infra/libkookie/nixpkgs/pkgs/development/tools/coursier/default.nix
index e016f0ef7c92..65077d6134b7 100644
--- a/infra/libkookie/nixpkgs/pkgs/development/tools/coursier/default.nix
+++ b/infra/libkookie/nixpkgs/pkgs/development/tools/coursier/default.nix
@@ -2,7 +2,7 @@
, coreutils, git, gnused, nix, nixfmt }:
let
- version = "2.0.9";
+ version = "2.0.12";
zshCompletion = fetchurl {
url =
@@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
src = fetchurl {
url =
"https://github.com/coursier/coursier/releases/download/v${version}/coursier";
- sha256 = "sha256-jqSv9VBLotl6YVWgWNznvTThRIiMUStQ0WbN6u01b1c=";
+ sha256 = "sha256-SLl8pXGl9612FDEOy1vz/mXTb3+7YAJ/wq/njBL+V+I=";
};
nativeBuildInputs = [ makeWrapper ];
@@ -37,14 +37,7 @@ in stdenv.mkDerivation rec {
#!${stdenv.shell}
set -o errexit
PATH=${
- lib.makeBinPath [
- common-updater-scripts
- coreutils
- git
- gnused
- nix
- nixfmt
- ]
+ lib.makeBinPath [ common-updater-scripts coreutils git gnused nix nixfmt ]
}
oldVersion="$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion ${pname}" | tr -d '"')"
latestTag="$(git -c 'versionsort.suffix=-' ls-remote --exit-code --refs --sort='version:refname' --tags ${repo} 'v*.*.*' | tail --lines=1 | cut --delimiter='/' --fields=3 | sed 's|^v||g')"