Skip to content

Commit

Permalink
w3m: 0.5.3+git20220429 -> 0.5.3+git20230121
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyroussel committed Mar 10, 2023
1 parent f29c3dc commit 925510b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pkgs/applications/networking/browsers/w3m/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
, x11Support ? graphicsSupport, libX11
, mouseSupport ? !stdenv.isDarwin, gpm-ncurses
, perl, man, pkg-config, buildPackages, w3m
, testers
}:

let
Expand All @@ -19,13 +20,13 @@ let
};
in stdenv.mkDerivation rec {
pname = "w3m";
version = "0.5.3+git20220429";
version = "0.5.3+git20230121";

src = fetchFromGitHub {
owner = "tats";
repo = pname;
rev = "v${version}";
hash = "sha256-aPPLZjjL3A5Tk0hv0NoAwJnjemC7a5RUoubhUr3lQE4=";
hash = "sha256-upb5lWqhC1jRegzTncIz5e21v4Pw912FyVn217HucFs=";
};

NIX_LDFLAGS = lib.optionalString stdenv.isSunOS "-lsocket -lnsl";
Expand Down Expand Up @@ -84,11 +85,19 @@ in stdenv.mkDerivation rec {
# see: https://bbs.archlinux.org/viewtopic.php?id=196093
LIBS = lib.optionalString x11Support "-lX11";

passthru.tests.version = testers.testVersion {
inherit version;
package = w3m;
command = "w3m -version";
};

meta = with lib; {
homepage = "https://w3m.sourceforge.net/";
changelog = "https://github.com/tats/w3m/blob/v${version}/ChangeLog";
description = "A text-mode web browser";
maintainers = with maintainers; [ cstrahan anthonyroussel ];
platforms = platforms.unix;
license = licenses.mit;
mainProgram = "w3m";
};
}

0 comments on commit 925510b

Please sign in to comment.