3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #24083 from ndowens/nedit

nedit: 5.6a -> 5.7
This commit is contained in:
ndowens 2017-03-19 17:19:42 -05:00 committed by GitHub
commit 981313fd30

View file

@ -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;
};
}