coursier: 1.0.0 -> 1.0.1
This commit is contained in:
parent
b332924e6a
commit
3949ae0aeb
@ -2,21 +2,17 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "coursier-${version}";
|
name = "coursier-${version}";
|
||||||
version = "1.0.0";
|
version = "1.0.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/coursier/coursier/raw/v${version}/coursier";
|
url = "https://github.com/coursier/coursier/raw/v${version}/coursier";
|
||||||
sha256 = "0167cgp3kqx336p8dmlxx57bi3lhzyp6ncly28v1s7r2sjxj9krj";
|
sha256 = "1rn1vb33zfl9iy80fhqvi9ykdjxz029nah5yfr5xixcx9al0bai3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
unpackPhase = ":";
|
buildCommand = ''
|
||||||
|
install -Dm555 $src $out/bin/coursier
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp ${src} $out/bin/coursier
|
|
||||||
chmod +x $out/bin/coursier
|
|
||||||
wrapProgram $out/bin/coursier --prefix PATH ":" ${jre}/bin
|
wrapProgram $out/bin/coursier --prefix PATH ":" ${jre}/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user