at 22.05-pre 25 lines 652 B view raw
1{lib, stdenv, fetchurl, ant, jdk}: 2 3stdenv.mkDerivation rec { 4 pname = "martyr"; 5 version = "0.3.9"; 6 src = fetchurl { 7 url = "mirror://sourceforge/martyr/${pname}-${version}.tar.gz"; 8 sha256 = "1ks8j413bcby345kmq1i7av8kwjvz5vxdn1zpv0p7ywxq54i4z59"; 9 }; 10 11 buildInputs = [ ant jdk ]; 12 13 buildPhase = "ant"; 14 15 installPhase = '' 16 mkdir -p "$out/share/java" 17 cp -v *.jar "$out/share/java" 18 ''; 19 20 meta = { 21 description = "Java framework around the IRC protocol to allow application writers easy manipulation of the protocol and client state"; 22 homepage = "http://martyr.sourceforge.net/"; 23 license = lib.licenses.lgpl21; 24 }; 25}