Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-08-12 09:46:53 +00:00
372 changed files with 7520 additions and 3777 deletions
+5 -4
View File
@@ -1,7 +1,5 @@
{ stdenv, fetchurl, xlibsWrapper, motif, libXpm }:
assert stdenv.isLinux;
stdenv.mkDerivation rec {
name = "nedit-5.6a";
@@ -14,7 +12,9 @@ stdenv.mkDerivation rec {
buildInputs = [ xlibsWrapper motif libXpm ];
buildFlags = if stdenv.isLinux then "linux" else "";
buildFlags = if stdenv.isLinux then "linux" else
# the linux config works fine on darwin too!
if stdenv.isDarwin then "linux" else "";
NIX_CFLAGS_COMPILE="-DBUILD_UNTESTED_NEDIT -L${motif}/lib";
@@ -23,7 +23,8 @@ stdenv.mkDerivation rec {
cp -p source/nedit source/nc $out/bin
'';
meta = {
meta = with stdenv.lib; {
homepage = http://www.nedit.org;
platforms = with platforms; linux ++ darwin;
};
}