lynx: format, cleanup
This commit is contained in:
parent
d85ded6d18
commit
3fa5fabf3f
1 changed files with 12 additions and 6 deletions
|
@ -1,11 +1,15 @@
|
||||||
{ lib, stdenv, buildPackages
|
{ lib
|
||||||
, fetchurl, pkg-config, ncurses, gzip
|
, stdenv
|
||||||
, sslSupport ? true, openssl ? null
|
, buildPackages
|
||||||
|
, fetchurl
|
||||||
|
, pkg-config
|
||||||
|
, ncurses
|
||||||
|
, gzip
|
||||||
|
, sslSupport ? true
|
||||||
|
, openssl
|
||||||
, nukeReferences
|
, nukeReferences
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert sslSupport -> openssl != null;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lynx";
|
pname = "lynx";
|
||||||
version = "2.8.9rel.1";
|
version = "2.8.9rel.1";
|
||||||
|
@ -32,7 +36,8 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ nukeReferences ]
|
nativeBuildInputs = [ nukeReferences ]
|
||||||
++ lib.optional sslSupport pkg-config;
|
++ lib.optional sslSupport pkg-config;
|
||||||
|
|
||||||
buildInputs = [ ncurses gzip ] ++ lib.optional sslSupport openssl.dev;
|
buildInputs = [ ncurses gzip ]
|
||||||
|
++ lib.optional sslSupport openssl;
|
||||||
|
|
||||||
# cfg_defs.h captures lots of references to build-only dependencies, derived
|
# cfg_defs.h captures lots of references to build-only dependencies, derived
|
||||||
# from config.cache.
|
# from config.cache.
|
||||||
|
@ -44,6 +49,7 @@ stdenv.mkDerivation rec {
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A text-mode web browser";
|
description = "A text-mode web browser";
|
||||||
homepage = "https://lynx.invisible-island.net/";
|
homepage = "https://lynx.invisible-island.net/";
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue