git.iko.soy/typeable/nixpkgs
on master help sign in
rdrview: init at unstable-2020-12-22
commitcddd4fe84a75da9d88a52fae17e45936b4e83eaf authorJonathan Strickland <djanatyn@gmail.com> dateThu 7 Jan 2021, 04:44 (6 years ago) parent3b57908
2 files changed+27
pkgs/tools/networking/rdrview/default.nix+26 pkgs/top-level/all-packages.nix+1
pkgs/tools/networking/rdrview/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, fetchFromGitHub, libxml2, curl, libseccomp }:
2+
3+stdenv.mkDerivation {
4+ name = "rdrview";
5+ version = "unstable-2020-12-22";
6+
7+ src = fetchFromGitHub {
8+ owner = "eafer";
9+ repo = "rdrview";
10+ rev = "7be01fb36a6ab3311a9ad1c8c2c75bf5c1345d93";
11+ sha256 = "00hnvrrrkyp5429rzcvabq2z00lp1l8wsqxw4h7qsdms707mjnxs";
12+ };
13+
14+ buildInputs = [ libxml2 curl libseccomp ];
15+
16+ installPhase = ''
17+ install -Dm755 rdrview -t $out/bin
18+ '';
19+
20+ meta = with stdenv.lib; {
21+ description = "Command line tool to extract main content from a webpage";
22+ homepage = "https://github.com/eafer/rdrview";
23+ license = licenses.asl20;
24+ maintainers = with maintainers; [ djanatyn ];
25+ };
26+}
pkgs/top-level/all-packages.nix+1
@@ -7002,6 +7002,7 @@ in
70027002
70037003 rdma-core = callPackage ../os-specific/linux/rdma-core { };
70047004
7005+ rdrview = callPackage ../tools/networking/rdrview {};
70057006
70067007 real_time_config_quick_scan = callPackage ../applications/audio/real_time_config_quick_scan { };
70077008