diff --git a/nixos/tests/bentopdf/caddy.nix b/nixos/tests/bentopdf/caddy.nix
index 0f4fc88063db..9780f1e890a5 100644
--- a/nixos/tests/bentopdf/caddy.nix
+++ b/nixos/tests/bentopdf/caddy.nix
@@ -22,7 +22,7 @@ import ../make-test-python.nix (
machine.wait_for_unit("caddy.service")
machine.wait_for_open_port(80)
machine.succeed("curl -vvv --fail --show-error --silent --location --insecure http://localhost/")
- assert "
BentoPDF - The Privacy First PDF Toolkit" in machine.succeed("curl --fail --show-error --silent --location --insecure http://localhost/")
+ assert "PDF Tools" in machine.succeed("curl --fail --show-error --silent --location --insecure http://localhost/")
'';
}
)
diff --git a/nixos/tests/bentopdf/nginx.nix b/nixos/tests/bentopdf/nginx.nix
index 257dc909894e..68720403a3a4 100644
--- a/nixos/tests/bentopdf/nginx.nix
+++ b/nixos/tests/bentopdf/nginx.nix
@@ -18,7 +18,7 @@ import ../make-test-python.nix (
testScript = ''
machine.wait_for_unit("nginx.service")
machine.wait_for_open_port(80)
- assert "BentoPDF - The Privacy First PDF Toolkit" in machine.succeed("curl --fail --show-error --silent --location --insecure http://localhost:80/")
+ assert "PDF Tools" in machine.succeed("curl --fail --show-error --silent --location --insecure http://localhost:80/")
'';
}
)
diff --git a/pkgs/by-name/be/bentopdf/package.nix b/pkgs/by-name/be/bentopdf/package.nix
index 9032644598ab..5054b1076431 100644
--- a/pkgs/by-name/be/bentopdf/package.nix
+++ b/pkgs/by-name/be/bentopdf/package.nix
@@ -2,23 +2,22 @@
lib,
buildNpmPackage,
fetchFromGitHub,
+ nix-update-script,
nixosTests,
simpleMode ? true,
}:
buildNpmPackage (finalAttrs: {
pname = "bentopdf";
- # We intentionally don't update the version, due to:
- # https://github.com/NixOS/nixpkgs/issues/484067
- # nixpkgs-update: no auto update
- version = "1.11.2";
+ version = "2.8.6";
src = fetchFromGitHub {
owner = "alam00000";
repo = "bentopdf";
tag = "v${finalAttrs.version}";
- hash = "sha256-br4My0Q4zoA+ZIrXM4o4oQjZ7IpSdwg+iKiAUdc2B/s=";
+ hash = "sha256-rbThEonDXFGcudgdMtDrQHq84Wh4IvOZZBn4kXvrhoI=";
};
- npmDepsHash = "sha256-UNNNYO7e7qdumI0/ka2ieFZzKURPl1V3981vHCPcVfY=";
+ npmDepsHash = "sha256-RT6ifx24mNfNS8oO93vyW+zbKQGCx21RqBQrAXK8dAY=";
+ npmDepsFetcherVersion = 2;
npmBuildFlags = [
"--"
@@ -37,8 +36,11 @@ buildNpmPackage (finalAttrs: {
runHook postInstall
'';
- passthru.tests = {
- inherit (nixosTests.bentopdf) caddy nginx;
+ passthru = {
+ tests = {
+ inherit (nixosTests.bentopdf) caddy nginx;
+ };
+ updateScript = nix-update-script { };
};
meta = {