2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, unzip}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "emma-2.0.5312";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/emma/emma-2.0.5312.zip";
|
|
|
|
sha256 = "0xxy39s2lvgs56vicjzpcz936l1vjaplliwa0dm7v3iyvw6jn7vj";
|
|
|
|
};
|
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
2021-02-05 17:12:51 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.cpl10;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|