2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl, ant }:
|
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
stdenv.mkDerivation {
|
2007-11-16 18:06:53 +01:00
|
|
|
name = "jedit-4.2";
|
|
|
|
|
2008-01-30 18:20:48 +01:00
|
|
|
src = fetchurl {
|
2008-01-30 20:49:42 +01:00
|
|
|
url = mirror://sf/jedit/jedit42source.tar.gz;
|
2007-11-16 18:06:53 +01:00
|
|
|
sha256 = "1ckqghsw2r30kfkqfgjl4k47gdwpz8c1h85haw0y0ymq4rqh798j";
|
|
|
|
};
|
|
|
|
|
|
|
|
phases = "unpackPhase buildPhase";
|
|
|
|
|
|
|
|
buildPhase = "
|
|
|
|
sed -i 's/\\<SplashScreen\\>/org.gjt.sp.jedit.gui.SplashScreen/g' org/gjt/sp/jedit/GUIUtilities.java
|
|
|
|
ant dist
|
|
|
|
ensureDir $out/lib
|
|
|
|
cp jedit.jar $out/lib
|
2007-11-16 18:27:27 +01:00
|
|
|
ensureDir \$out/lib/modes
|
|
|
|
cp modes/catalog \$out/lib/modes
|
2007-11-16 18:06:53 +01:00
|
|
|
";
|
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
buildInputs = [ ant ];
|
2007-11-16 18:06:53 +01:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "really nice programmers editor written in Java. Give it a try";
|
|
|
|
homepage = http://www.jedit.org;
|
|
|
|
license = "GPL";
|
2007-11-16 18:06:53 +01:00
|
|
|
};
|
|
|
|
}
|