2021-01-23 12:26:19 +00:00
|
|
|
{lib, stdenv, fetchurl, unzip}:
|
2008-02-26 15:48:14 +00:00
|
|
|
|
2021-06-20 11:34:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "emma";
|
|
|
|
version = "2.0.5312";
|
2021-01-19 21:20:11 +00:00
|
|
|
|
2008-02-26 15:48:14 +00:00
|
|
|
src = fetchurl {
|
2021-06-20 11:34:30 +01:00
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.zip";
|
2008-02-26 15:48:14 +00:00
|
|
|
sha256 = "0xxy39s2lvgs56vicjzpcz936l1vjaplliwa0dm7v3iyvw6jn7vj";
|
|
|
|
};
|
|
|
|
|
2021-02-20 21:01:53 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2008-02-26 15:48:14 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/lib/jars
|
2008-02-26 15:48:14 +00:00
|
|
|
cp lib/*.jar $out/lib/jars/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://emma.sourceforge.net/";
|
2008-02-26 15:48:14 +00:00
|
|
|
description = "A code coverage tool for Java";
|
2021-01-23 12:26:19 +00:00
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
license = lib.licenses.cpl10;
|
2008-02-26 15:48:14 +00:00
|
|
|
};
|
|
|
|
}
|