From 3949ae0aeb05b990cfcd95d2e14b5d76aef52fae Mon Sep 17 00:00:00 2001 From: volth Date: Thu, 22 Feb 2018 02:50:17 +0000 Subject: [PATCH] coursier: 1.0.0 -> 1.0.1 --- pkgs/development/tools/coursier/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/development/tools/coursier/default.nix b/pkgs/development/tools/coursier/default.nix index 79a077f4a751..e3c8d7ed014d 100644 --- a/pkgs/development/tools/coursier/default.nix +++ b/pkgs/development/tools/coursier/default.nix @@ -2,21 +2,17 @@ stdenv.mkDerivation rec { name = "coursier-${version}"; - version = "1.0.0"; + version = "1.0.1"; src = fetchurl { url = "https://github.com/coursier/coursier/raw/v${version}/coursier"; - sha256 = "0167cgp3kqx336p8dmlxx57bi3lhzyp6ncly28v1s7r2sjxj9krj"; + sha256 = "1rn1vb33zfl9iy80fhqvi9ykdjxz029nah5yfr5xixcx9al0bai3"; }; nativeBuildInputs = [ makeWrapper ]; - unpackPhase = ":"; - - installPhase = '' - mkdir -p $out/bin - cp ${src} $out/bin/coursier - chmod +x $out/bin/coursier + buildCommand = '' + install -Dm555 $src $out/bin/coursier wrapProgram $out/bin/coursier --prefix PATH ":" ${jre}/bin '';