The nice programmers editor jedit is now built on nix as well.
svn path=/nixpkgs/trunk/; revision=9719
This commit is contained in:
parent
e3d6f44256
commit
27c46e0df2
26
pkgs/applications/jedit/default.nix
Normal file
26
pkgs/applications/jedit/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
args:
|
||||
args.stdenv.mkDerivation {
|
||||
name = "jedit-4.2";
|
||||
|
||||
src = args.fetchurl {
|
||||
url = http://kent.dl.sourceforge.net/sourceforge/jedit/jedit42source.tar.gz;
|
||||
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
|
||||
";
|
||||
|
||||
buildInputs =(with args; [ant]);
|
||||
|
||||
meta = {
|
||||
description = "really nice programmers editor written in Java. Give it a try";
|
||||
homepage = http://sourceforge.net/project/showfiles.php?group_id=588;
|
||||
license = "GPL";
|
||||
};
|
||||
}
|
@ -3809,6 +3809,11 @@ rec {
|
||||
inherit (gtkLibs) glib;
|
||||
};
|
||||
|
||||
jedit = import ../applications/jedit {
|
||||
inherit fetchurl ant;
|
||||
stdenv = overrideSetup stdenv ../stdenv/generic/setup-new-2.sh;
|
||||
};
|
||||
|
||||
joe = import ../applications/editors/joe {
|
||||
inherit stdenv fetchurl;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user