Merge pull request #35307 from volth/patch-85

coursier: 1.0.0 -> 1.0.1
This commit is contained in:
Tim Steinbach 2018-02-28 02:31:42 +00:00 committed by GitHub
commit a9a786943a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
'';