2008-01-30 17:20:48 +00:00
|
|
|
args: with args;
|
|
|
|
stdenv.mkDerivation {
|
2007-11-16 17:06:53 +00:00
|
|
|
name = "jedit-4.2";
|
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
src = fetchurl {
|
2008-01-30 19:49:42 +00:00
|
|
|
url = mirror://sf/jedit/jedit42source.tar.gz;
|
2007-11-16 17:06:53 +00: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 17:27:27 +00:00
|
|
|
ensureDir \$out/lib/modes
|
|
|
|
cp modes/catalog \$out/lib/modes
|
2007-11-16 17:06:53 +00:00
|
|
|
";
|
|
|
|
|
2008-01-30 17:20:48 +00:00
|
|
|
buildInputs = [ant];
|
2007-11-16 17:06:53 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "really nice programmers editor written in Java. Give it a try";
|
2008-01-30 19:49:42 +00:00
|
|
|
homepage = http://www.jedit.org;
|
2007-11-16 17:06:53 +00:00
|
|
|
license = "GPL";
|
|
|
|
};
|
|
|
|
}
|