summaryrefslogtreecommitdiffstats
path: root/pkgs/tools
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-07 12:00:06 +0100
committerGitHub <noreply@github.com>2021-01-07 12:00:06 +0100
commite96424dc1ee6e22ce4ea14d781d0ac2a9b8b3e75 (patch)
treef1a6cc015dd0f37414904382959302c85a5aea4c /pkgs/tools
parent0565ddec3fd48be1c7cf3c5ae941c990f9e652a3 (diff)
parentcddd4fe84a75da9d88a52fae17e45936b4e83eaf (diff)
Merge pull request #108648 from djanatyn/pkg/rdrview
rdrview: init at unstable-2020-12-22
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/rdrview/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/networking/rdrview/default.nix b/pkgs/tools/networking/rdrview/default.nix
new file mode 100644
index 000000000000..628bd9853415
--- /dev/null
+++ b/pkgs/tools/networking/rdrview/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, libxml2, curl, libseccomp }:
+
+stdenv.mkDerivation {
+ name = "rdrview";
+ version = "unstable-2020-12-22";
+
+ src = fetchFromGitHub {
+ owner = "eafer";
+ repo = "rdrview";
+ rev = "7be01fb36a6ab3311a9ad1c8c2c75bf5c1345d93";
+ sha256 = "00hnvrrrkyp5429rzcvabq2z00lp1l8wsqxw4h7qsdms707mjnxs";
+ };
+
+ buildInputs = [ libxml2 curl libseccomp ];
+
+ installPhase = ''
+ install -Dm755 rdrview -t $out/bin
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Command line tool to extract main content from a webpage";
+ homepage = "https://github.com/eafer/rdrview";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ djanatyn ];
+ };
+}