Merge pull request #24108 from adelbertc/coursier-1-0-0-M15

coursier: init at 1.0.0-M15
This commit is contained in:
Tim Steinbach 2017-03-21 09:26:47 -04:00 committed by GitHub
commit e361bc4556
3 changed files with 32 additions and 0 deletions

View File

@ -14,6 +14,7 @@
aboseley = "Adam Boseley <adam.boseley@gmail.com>";
abuibrahim = "Ruslan Babayev <ruslan@babayev.com>";
acowley = "Anthony Cowley <acowley@gmail.com>";
adelbertc = "Adelbert Chang <adelbertc@gmail.com>";
adev = "Adrien Devresse <adev@adev.name>";
Adjective-Object = "Maxwell Huang-Hobbs <mhuan13@gmail.com>";
adnelson = "Allen Nelson <ithinkican@gmail.com>";

View File

@ -0,0 +1,29 @@
{ stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec {
name = "coursier-${version}";
version = "1.0.0-M15-5";
src = fetchurl {
url = "https://github.com/coursier/coursier/raw/v${version}/coursier";
sha256 = "610c5fc08d0137c5270cefd14623120ab10cd81b9f48e43093893ac8d00484c9";
};
nativeBuildInputs = [ makeWrapper ];
phases = "installPhase";
installPhase = ''
mkdir -p $out/bin
cp ${src} $out/bin/coursier
chmod +x $out/bin/coursier
wrapProgram $out/bin/coursier --prefix PATH ":" ${jre}/bin ;
'';
meta = with stdenv.lib; {
homepage = http://get-coursier.io/;
description = "A Scala library to fetch dependencies from Maven / Ivy repositories";
license = licenses.asl20;
maintainers = with maintainers; [ adelbertc nequissimus ];
};
}

View File

@ -804,6 +804,8 @@ with pkgs;
coturn = callPackage ../servers/coturn { };
coursier = callPackage ../development/tools/coursier {};
crunch = callPackage ../tools/security/crunch { };
crudini = callPackage ../tools/misc/crudini { };