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