commit fbd64545a696eddc54dbbf76a5249ed419758c74
parent 60766ad7238ab2fcf3008ce7f541416a96050922
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sat, 13 Jul 2024 19:09:08 +0400
Add webdump
Diffstat:
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -527,5 +527,6 @@ lib.makeScope newScope (
sthkd = callPackage ./suckless/sthkd { };
svtm = callPackage ./suckless/svtm { };
table = callPackage ./suckless/table { };
+ webdump = callPackage ./suckless/webdump { };
}
)
diff --git a/pkgs/suckless/webdump/default.nix b/pkgs/suckless/webdump/default.nix
@@ -0,0 +1,26 @@
+{
+ lib,
+ stdenv,
+ fetchgit,
+}:
+
+stdenv.mkDerivation (finalAttrs: {
+ pname = "webdump";
+ version = "0-unstable-2024-07-06";
+
+ src = fetchgit {
+ url = "git://git.codemadness.org/webdump";
+ rev = "5cde25b5150bd0375e9b5800bf3855765830c588";
+ hash = "sha256-holkUH9ImpcVVJo429jq9BqB6YRpqifQBmbUrD6TzgU=";
+ };
+
+ installFlags = [ "PREFIX=$(out)" ];
+
+ meta = {
+ description = "HTML to plain-text converter for webpages";
+ homepage = "https://git.codemadness.org/webdump/file/README.html";
+ license = lib.licenses.isc;
+ maintainers = [ lib.maintainers.sikmir ];
+ platforms = lib.platforms.unix;
+ };
+})