From 8ab037e0b5aec850db9025478f78f318e4979b60 Mon Sep 17 00:00:00 2001 From: ndowens Date: Sun, 19 Mar 2017 17:18:26 -0500 Subject: [PATCH] nedit: 5.6a -> 5.7 --- pkgs/applications/editors/nedit/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/nedit/default.nix b/pkgs/applications/editors/nedit/default.nix index d933a207cd4a..a15b557f0e57 100644 --- a/pkgs/applications/editors/nedit/default.nix +++ b/pkgs/applications/editors/nedit/default.nix @@ -1,16 +1,18 @@ { stdenv, fetchurl, xlibsWrapper, motif, libXpm }: stdenv.mkDerivation rec { - name = "nedit-5.6a"; + name = "nedit-${version}"; + version = "5.7"; src = fetchurl { url = "mirror://sourceforge/nedit/nedit-source/${name}-src.tar.gz"; - sha256 = "1v8y8vwj3kn91crsddqkz843y6csgw7wkjnd3zdcb4bcrf1pjrsk"; + sha256 = "0ym1zhjx9976rf2z5nr7dj4mjkxcicimhs686snjhdcpzxwsrndd"; }; hardeningDisable = [ "format" ]; - buildInputs = [ xlibsWrapper motif libXpm ]; + nativeBuildInputs = [ xlibsWrapper ]; + buildInputs = [ motif libXpm ]; buildFlags = if stdenv.isLinux then "linux" else # the linux config works fine on darwin too! @@ -24,7 +26,7 @@ stdenv.mkDerivation rec { ''; meta = with stdenv.lib; { - homepage = http://www.nedit.org; + homepage = http://sourceforge.net/projects/nedit; platforms = with platforms; linux ++ darwin; }; }