Unverified Commit ff4c119a authored by Marcin Serwin's avatar Marcin Serwin Committed by GitHub
Browse files

defuddle: 0.6.4 -> 0.17.0; rename from defuddle-cli (#499369)

parents 39c03635 2b06f82a
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{
  buildNpmPackage,
  fetchFromGitHub,
  gitUpdater,
  lib,
  nix-update-script,
}:

buildNpmPackage rec {
  pname = "defuddle-cli";
  version = "0.6.4";
  pname = "defuddle";
  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 { };

  __structuredAttrs = true;

  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 ];
+1 −0
Original line number Diff line number Diff line
@@ -594,6 +594,7 @@ mapAliases {
  deco = throw "'deco' has been removed as it is unused"; # Added 2025-12-18
  deepin = throw "the Deepin desktop environment and associated tools have been removed from nixpkgs due to lack of maintenance"; # Added 2025-08-21
  deepsea = throw "deepsea has been removed because it has been marked as broken since at least November 2024."; # Added 2025-09-28
  defuddle-cli = warnAlias "defuddle-cli has been renamed to/replaced by 'defuddle'" defuddle; # Added 2026-04-16
  degit-rs = throw "'degit-rs' has been removed because it is unmaintained upstream and has vulnerable dependencies."; # Added 2025-07-11
  deltachat-cursed = throw "'deltachat-cursed' has been renamed to/replaced by 'arcanechat-tui'"; # Converted to throw 2025-10-27
  devdocs-desktop = throw "'devdocs-desktop' has been removed as it is unmaintained upstream and vendors insecure dependencies"; # Added 2025-06-11