jacoco: init at 0.8.8
This commit is contained in:
parent
3d7412a48c
commit
7ef4a3fd80
2 changed files with 45 additions and 0 deletions
43
pkgs/development/tools/analysis/jacoco/default.nix
Normal file
43
pkgs/development/tools/analysis/jacoco/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchzip
|
||||||
|
, makeWrapper
|
||||||
|
, jre
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "jacoco";
|
||||||
|
version = "0.8.8";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://search.maven.org/remotecontent?filepath=org/jacoco/jacoco/${version}/jacoco-${version}.zip";
|
||||||
|
stripRoot = false;
|
||||||
|
sha256 = "sha256-NfXkMAFG1yMj1o06Hlhg9+B4RzL0I36fAGjZx3IC+NQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $doc/share/doc $out/bin
|
||||||
|
|
||||||
|
cp -r doc $doc/share/doc/jacoco
|
||||||
|
install -Dm444 lib/* -t $out/share/java
|
||||||
|
|
||||||
|
makeWrapper ${jre}/bin/java $out/bin/jacoco \
|
||||||
|
--add-flags "-jar $out/share/java/jacococli.jar"
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A free code coverage library for Java";
|
||||||
|
homepage = "https://jacoco.org/jacoco";
|
||||||
|
license = licenses.epl20;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ figsoda ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -17211,6 +17211,8 @@ with pkgs;
|
||||||
|
|
||||||
itstool = callPackage ../development/tools/misc/itstool { };
|
itstool = callPackage ../development/tools/misc/itstool { };
|
||||||
|
|
||||||
|
jacoco = callPackage ../development/tools/analysis/jacoco { };
|
||||||
|
|
||||||
inherit (callPackage ../development/tools/build-managers/jam { })
|
inherit (callPackage ../development/tools/build-managers/jam { })
|
||||||
jam
|
jam
|
||||||
ftjam;
|
ftjam;
|
||||||
|
|
Loading…
Reference in a new issue