summary refs log tree commit diff
path: root/pkgs/development/tools/analysis/emma/default.nix
blob: a1e88d8ebfb8b5b71a9867db20a0b318e640a16d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{lib, stdenv, fetchurl, unzip}:

stdenv.mkDerivation {
  name = "emma-2.0.5312";

  src = fetchurl {
    url = "mirror://sourceforge/emma/emma-2.0.5312.zip";
    sha256 = "0xxy39s2lvgs56vicjzpcz936l1vjaplliwa0dm7v3iyvw6jn7vj";
  };

  nativeBuildInputs = [ unzip ];

  installPhase = ''
    mkdir -p $out/lib/jars
    cp lib/*.jar $out/lib/jars/
  '';

  meta = {
    homepage = "http://emma.sourceforge.net/";
    description = "A code coverage tool for Java";
    platforms = lib.platforms.unix;
    license = lib.licenses.cpl10;
  };
}