defuddle-cli: 0.6.4 -> 0.17.0

This commit is contained in:
nat
2026-04-24 18:03:20 +02:00
parent 6d58529636
commit e206f4db18
+11 -7
View File
@@ -1,28 +1,32 @@
{
buildNpmPackage,
fetchFromGitHub,
gitUpdater,
lib,
nix-update-script,
}:
buildNpmPackage rec {
pname = "defuddle-cli";
version = "0.6.4";
version = "0.17.0";
src = fetchFromGitHub {
owner = "kepano";
repo = "defuddle-cli";
repo = "defuddle";
tag = version;
hash = "sha256-28XmpFKzBKNhRkPOGaacJVw8hjQUZq2nwuR0vNo8aW0=";
hash = "sha256-w1V2xdaE8Htl6NeDyfKLFHOt3UEUuI4eBPW433qD1WI=";
};
npmDepsHash = "sha256-rRo+ty/E09OS+cWDnKQkROEdDc0hiB5g1h/+NbJe+/M=";
npmDepsHash = "sha256-D+Gn9Dcc+YNeRonnKjEcp3BzpxIdwy7J4lJvxefJSvs=";
passthru.updateScript = gitUpdater { };
# jsdom is both a peerDependency and devDependency; pruning
# devDependencies removes it, but the CLI needs it at runtime.
dontNpmPrune = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Command line utility to extract clean html, markdown and metadata from web pages";
homepage = "https://github.com/kepano/defuddle-cli";
homepage = "https://github.com/kepano/defuddle";
license = lib.licenses.mit;
mainProgram = "defuddle";
maintainers = with lib.maintainers; [ surfaceflinger ];