8 stdenv.mkDerivation rec {
13 url = "https://search.maven.org/remotecontent?filepath=org/jacoco/jacoco/${version}/jacoco-${version}.zip";
15 sha256 = "sha256-Sd4Kh5ts0IdHhd9vF1XZzZ2KFRb+rsnzpam6Ysxu910=";
18 outputs = [ "out" "doc" ];
20 nativeBuildInputs = [ makeWrapper ];
25 mkdir -p $doc/share/doc $out/bin
27 cp -r doc $doc/share/doc/jacoco
28 install -Dm444 lib/* -t $out/share/java
30 makeWrapper ${jre}/bin/java $out/bin/jacoco \
31 --add-flags "-jar $out/share/java/jacococli.jar"
37 description = "A free code coverage library for Java";
38 homepage = "https://www.jacoco.org/jacoco";
39 changelog = "https://www.jacoco.org/jacoco/trunk/doc/changes.html";
40 license = licenses.epl20;
41 platforms = platforms.all;
42 maintainers = with maintainers; [ figsoda ];