1 { lib, stdenv, fetchFromGitHub, libxml2, curl, libseccomp, installShellFiles }:
5 version = "unstable-2021-05-30";
7 src = fetchFromGitHub {
10 rev = "444ce3d6efd8989cd6ecfdc0560071b20e622636";
11 sha256 = "02VC8r8PdcAfMYB0/NtbPnhsWatpLQc4mW4TmSE1+zk=";
14 buildInputs = [ libxml2 curl libseccomp ];
15 nativeBuildInputs = [ installShellFiles ];
19 install -Dm755 rdrview -t $out/bin
20 installManPage rdrview.1
24 enableParallelBuilding = true;
27 description = "Command line tool to extract main content from a webpage";
28 homepage = "https://github.com/eafer/rdrview";
29 license = licenses.asl20;
30 maintainers = with maintainers; [ djanatyn ];
31 mainProgram = "rdrview";