2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, unzip}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-07-21 07:28:18 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "emma";
|
|
|
|
version = "2.0.5312";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-07-21 07:28:18 +00:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.zip";
|
2020-04-24 23:36:52 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|