Browse Source

Merge pull request #23881 from nicknovitski/links-darwin

links2: build on all unix platforms
nixos-19.03
Benjamin Staffin 5 years ago committed by GitHub
parent
commit
5c57cc2ed8
  1. 11
      pkgs/applications/networking/browsers/links2/default.nix

11
pkgs/applications/networking/browsers/links2/default.nix

@ -16,10 +16,11 @@ stdenv.mkDerivation rec {
sha256 = "1f24y83wa1vzzjq5kp857gjqdpnmf8pb29yw7fam0m8wxxw0c3gp";
};
buildInputs =
[ libev librsvg libpng libjpeg libtiff gpm openssl xz bzip2 zlib ]
++ stdenv.lib.optionals enableX11 [ libX11 libXau libXt ]
++ stdenv.lib.optional enableDirectFB [ directfb ];
buildInputs = with stdenv.lib;
[ libev librsvg libpng libjpeg libtiff openssl xz bzip2 zlib ]
++ optionals stdenv.isLinux [ gpm ]
++ optionals enableX11 [ libX11 libXau libXt ]
++ optional enableDirectFB [ directfb ];
nativeBuildInputs = [ pkgconfig bzip2 ];
@ -39,6 +40,6 @@ stdenv.mkDerivation rec {
homepage = http://links.twibright.com/;
description = "A small browser with some graphics support";
maintainers = with maintainers; [ raskin urkud viric ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}

Loading…
Cancel
Save