2017-03-20 21:09:59 +00:00
|
|
|
{stdenv, fetchurl, ant, jdk}:
|
2006-04-19 22:32:59 +00:00
|
|
|
|
2017-03-20 21:09:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "martyr";
|
2017-03-20 21:09:59 +00:00
|
|
|
version = "0.3.9";
|
2006-04-19 22:32:59 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "mirror://sourceforge/martyr/${pname}-${version}.tar.gz";
|
2014-10-12 14:13:21 +00:00
|
|
|
sha256 = "1ks8j413bcby345kmq1i7av8kwjvz5vxdn1zpv0p7ywxq54i4z59";
|
2006-04-19 22:32:59 +00:00
|
|
|
};
|
2017-03-20 21:09:59 +00:00
|
|
|
|
|
|
|
buildInputs = [ ant jdk ];
|
|
|
|
|
|
|
|
buildPhase = "ant";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/share/java"
|
|
|
|
cp -v *.jar "$out/share/java"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Martyr is a Java framework around the IRC protocol to allow application writers easy manipulation of the protocol and client state";
|
|
|
|
homepage = http://martyr.sourceforge.net/;
|
2018-10-23 17:55:59 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2017-03-20 21:09:59 +00:00
|
|
|
};
|
2006-04-19 22:32:59 +00:00
|
|
|
}
|