summary refs log tree commit diff
path: root/pkgs/development/tools/analysis/emma/default.nix
blob: 1bd24b4785d03776ac5f9ce9a8e78ec4d1ea9b7a (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
{stdenv, fetchurl, unzip}:

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

  buildInputs = [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 = stdenv.lib.platforms.unix;
    license = stdenv.lib.licenses.cpl10;
  };
}