@@ -1,16 +1,18 @@
11{ stdenv, fetchurl, xlibsWrapper, motif, libXpm }:
22
33stdenv.mkDerivation rec {
4− name = "nedit-5.6a";
4+ name = "nedit-${version}";
5+ version = "5.7";
56
67 src = fetchurl {
78 url = "mirror://sourceforge/nedit/nedit-source/${name}-src.tar.gz";
8− sha256 = "1v8y8vwj3kn91crsddqkz843y6csgw7wkjnd3zdcb4bcrf1pjrsk";
9+ sha256 = "0ym1zhjx9976rf2z5nr7dj4mjkxcicimhs686snjhdcpzxwsrndd";
910 };
1011
1112 hardeningDisable = [ "format" ];
1213
13− buildInputs = [ xlibsWrapper motif libXpm ];
14+ nativeBuildInputs = [ xlibsWrapper ];
15+ buildInputs = [ motif libXpm ];
1416
1517 buildFlags = if stdenv.isLinux then "linux" else
1618 # the linux config works fine on darwin too!
@@ -24,7 +26,7 @@ stdenv.mkDerivation rec {
2426 '';
2527
2628 meta = with stdenv.lib; {
27− homepage = http://www.nedit.org;
29+ homepage = http://sourceforge.net/projects/nedit;
2830 platforms = with platforms; linux ++ darwin;
2931 };
3032}