mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
coursier: init at 1.0.0-M15
This commit is contained in:
parent
8cbbba6b33
commit
9634d9e4fc
2 changed files with 30 additions and 0 deletions
28
pkgs/development/tools/coursier/default.nix
Normal file
28
pkgs/development/tools/coursier/default.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ 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";
|
||||
};
|
||||
|
||||
buildInputs = [ 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue