diff --git a/pkgs/by-name/au/auto-changelog/package.nix b/pkgs/by-name/au/auto-changelog/package.nix index 0add7c39c6c9..a7a5d8942b5a 100644 --- a/pkgs/by-name/au/auto-changelog/package.nix +++ b/pkgs/by-name/au/auto-changelog/package.nix @@ -7,6 +7,7 @@ npmHooks, nodejs, git, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "auto-changelog"; @@ -40,6 +41,8 @@ stdenv.mkDerivation (finalAttrs: { runHook postCheck ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Command line tool for generating a changelog from git tags and commit history"; homepage = "https://github.com/cookpete/auto-changelog"; diff --git a/pkgs/by-name/di/diff2html-cli/package.nix b/pkgs/by-name/di/diff2html-cli/package.nix index f978092e7352..a26764053efb 100644 --- a/pkgs/by-name/di/diff2html-cli/package.nix +++ b/pkgs/by-name/di/diff2html-cli/package.nix @@ -7,6 +7,7 @@ yarnBuildHook, yarnInstallHook, nodejs, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { @@ -37,6 +38,8 @@ stdenv.mkDerivation (finalAttrs: { nodejs ]; + passthru.updateScript = nix-update-script { }; + meta = { description = "Generate pretty HTML diffs from unified and git diff output in your terminal"; homepage = "https://diff2html.xyz#cli"; diff --git a/pkgs/by-name/ge/get-graphql-schema/package.nix b/pkgs/by-name/ge/get-graphql-schema/package.nix index 99eb68f11360..aa863642f494 100644 --- a/pkgs/by-name/ge/get-graphql-schema/package.nix +++ b/pkgs/by-name/ge/get-graphql-schema/package.nix @@ -7,6 +7,7 @@ yarnConfigHook, yarnBuildHook, npmHooks, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "get-graphql-schema"; @@ -31,6 +32,8 @@ stdenv.mkDerivation (finalAttrs: { nodejs ]; + passthru.updateScript = nix-update-script { }; + meta = { description = "Fetch and print the GraphQL schema from a GraphQL HTTP endpoint"; homepage = "https://github.com/prisma-labs/get-graphql-schema"; diff --git a/pkgs/by-name/gi/git-run/package.nix b/pkgs/by-name/gi/git-run/package.nix index 5522da1ade2e..0c82b1c6dff4 100644 --- a/pkgs/by-name/gi/git-run/package.nix +++ b/pkgs/by-name/gi/git-run/package.nix @@ -2,6 +2,7 @@ lib, buildNpmPackage, fetchFromGitHub, + nix-update-script, }: buildNpmPackage rec { @@ -29,6 +30,8 @@ buildNpmPackage rec { rm -f $out/lib/node_modules/${pname}/node_modules/.bin/rimraf ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Multiple git repository management tool"; homepage = "https://mixu.net/gr/"; diff --git a/pkgs/by-name/go/goresym/package.nix b/pkgs/by-name/go/goresym/package.nix index 37c812ea53d3..8925f49f3664 100644 --- a/pkgs/by-name/go/goresym/package.nix +++ b/pkgs/by-name/go/goresym/package.nix @@ -3,6 +3,7 @@ fetchFromGitHub, buildGoModule, unzip, + nix-update-script, }: buildGoModule rec { @@ -30,6 +31,8 @@ buildGoModule rec { doCheck = true; + passthru.updateScript = nix-update-script { }; + meta = { description = "Go symbol recovery tool"; mainProgram = "GoReSym"; diff --git a/pkgs/by-name/js/js-beautify/package.nix b/pkgs/by-name/js/js-beautify/package.nix index fd8dca953546..ae49398ae2b2 100644 --- a/pkgs/by-name/js/js-beautify/package.nix +++ b/pkgs/by-name/js/js-beautify/package.nix @@ -3,6 +3,7 @@ buildNpmPackage, fetchFromGitHub, nodejs, + nix-update-script, }: buildNpmPackage (finalAttrs: { @@ -35,6 +36,8 @@ buildNpmPackage (finalAttrs: { npmDepsHash = "sha256-Tr8kYawvPBt+jC7SW8dnKJVWynQyOpKbRD8yd+qbvIs="; + passthru.updateScript = nix-update-script { }; + meta = { changelog = "https://github.com/beautifier/js-beautify/blob/v${finalAttrs.version}/CHANGELOG.md"; description = "Beautifier for javascript"; diff --git a/pkgs/by-name/ke/keyoxide-cli/package.nix b/pkgs/by-name/ke/keyoxide-cli/package.nix index 6e91da843c38..fc658b7c4525 100644 --- a/pkgs/by-name/ke/keyoxide-cli/package.nix +++ b/pkgs/by-name/ke/keyoxide-cli/package.nix @@ -7,6 +7,7 @@ yarnBuildHook, yarnInstallHook, nodejs, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { @@ -37,6 +38,8 @@ stdenv.mkDerivation (finalAttrs: { nodejs ]; + passthru.updateScript = nix-update-script { }; + meta = { changelog = "https://codeberg.org/keyoxide/keyoxide-cli/releases/tag/${finalAttrs.version}"; description = "Command-line interface to locally verify decentralized identities"; diff --git a/pkgs/by-name/mo/mocha/package.nix b/pkgs/by-name/mo/mocha/package.nix index fbfeebd78808..c38f8b84ecc2 100644 --- a/pkgs/by-name/mo/mocha/package.nix +++ b/pkgs/by-name/mo/mocha/package.nix @@ -2,6 +2,7 @@ lib, buildNpmPackage, fetchFromGitHub, + nix-update-script, }: buildNpmPackage (finalAttrs: { @@ -22,6 +23,8 @@ buildNpmPackage (finalAttrs: { rm $out/bin/_mocha ''; + passthru.updateScript = nix-update-script { }; + meta = { changelog = "https://github.com/mochajs/mocha/blob/v${finalAttrs.version}/CHANGELOG.md"; description = "Simple, flexible, fun Javascript test framework for Node.js & the browser"; diff --git a/pkgs/by-name/op/openapv/package.nix b/pkgs/by-name/op/openapv/package.nix index b87ec3ec5154..f2ce7d4eb7dc 100644 --- a/pkgs/by-name/op/openapv/package.nix +++ b/pkgs/by-name/op/openapv/package.nix @@ -4,6 +4,7 @@ writeText, fetchFromGitHub, cmake, + nix-update-script, }: let # Requires an /etc/os-release file, so we override it with this. @@ -27,6 +28,8 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake ]; + passthru.updateScript = nix-update-script { }; + meta = { changelog = "https://github.com/AcademySoftwareFoundation/openapv/releases/tag/v${finalAttrs.version}"; description = "Reference implementation of the APV codec"; diff --git a/pkgs/by-name/op/openspeedrun/package.nix b/pkgs/by-name/op/openspeedrun/package.nix index 468a3b199b5b..73ea17ef9e3e 100644 --- a/pkgs/by-name/op/openspeedrun/package.nix +++ b/pkgs/by-name/op/openspeedrun/package.nix @@ -6,6 +6,7 @@ libxkbcommon, libGL, autoPatchelfHook, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -35,6 +36,8 @@ rustPlatform.buildRustPackage (finalAttrs: { "libgcc_s.so.1" ]; + passthru.updateScript = nix-update-script { }; + meta = { changelog = "https://github.com/SrWither/OpenSpeedRun/releases/tag/v${finalAttrs.version}"; description = "Modern and minimalistic open-source speedrun timer"; diff --git a/pkgs/by-name/rs/rsrpc/package.nix b/pkgs/by-name/rs/rsrpc/package.nix index 12f6e4980eb7..520ca8f644f2 100644 --- a/pkgs/by-name/rs/rsrpc/package.nix +++ b/pkgs/by-name/rs/rsrpc/package.nix @@ -4,6 +4,7 @@ rustPlatform, openssl, pkg-config, + nix-update-script, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -27,6 +28,8 @@ rustPlatform.buildRustPackage (finalAttrs: { openssl ]; + passthru.updateScript = nix-update-script { }; + meta = { changelog = "https://github.com/SpikeHD/rsRPC/releases/tag/v${finalAttrs.version}"; description = "Rust implementation of the Discord RPC server"; diff --git a/pkgs/by-name/sw/sway-launcher-desktop/package.nix b/pkgs/by-name/sw/sway-launcher-desktop/package.nix index 66ab3118b5ba..f4a672afe321 100644 --- a/pkgs/by-name/sw/sway-launcher-desktop/package.nix +++ b/pkgs/by-name/sw/sway-launcher-desktop/package.nix @@ -5,6 +5,7 @@ gawk, fetchFromGitHub, makeWrapper, + nix-update-script, }: stdenv.mkDerivation rec { @@ -40,6 +41,8 @@ stdenv.mkDerivation rec { } ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "TUI Application launcher with Desktop Entry support"; mainProgram = "sway-launcher-desktop"; diff --git a/pkgs/by-name/wa/wasm-text-gen/package.nix b/pkgs/by-name/wa/wasm-text-gen/package.nix index 2c93576c9986..f61d314f3c74 100644 --- a/pkgs/by-name/wa/wasm-text-gen/package.nix +++ b/pkgs/by-name/wa/wasm-text-gen/package.nix @@ -8,6 +8,7 @@ nodejs, makeBinaryWrapper, gcc, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "wasm-text-gen"; @@ -58,6 +59,8 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Toolbox for WebAssembly"; homepage = "https://webassembly.js.org"; diff --git a/pkgs/by-name/wa/wast-refmt/package.nix b/pkgs/by-name/wa/wast-refmt/package.nix index c0805e922448..c72b6d8909db 100644 --- a/pkgs/by-name/wa/wast-refmt/package.nix +++ b/pkgs/by-name/wa/wast-refmt/package.nix @@ -8,6 +8,7 @@ nodejs, makeBinaryWrapper, gcc, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "wast-refmt"; @@ -59,6 +60,8 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "WAST Reformatter"; homepage = "https://webassembly.js.org"; diff --git a/pkgs/by-name/we/webassemblyjs-cli/package.nix b/pkgs/by-name/we/webassemblyjs-cli/package.nix index 3dd8b359c655..36ff6d4864d2 100644 --- a/pkgs/by-name/we/webassemblyjs-cli/package.nix +++ b/pkgs/by-name/we/webassemblyjs-cli/package.nix @@ -8,6 +8,7 @@ nodejs, makeBinaryWrapper, gcc, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "webassemblyjs-cli"; @@ -65,6 +66,8 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "Toolbox for WebAssembly"; homepage = "https://webassembly.js.org"; diff --git a/pkgs/by-name/we/webassemblyjs-repl/package.nix b/pkgs/by-name/we/webassemblyjs-repl/package.nix index d564c7d541cd..cc33c6b9fb3f 100644 --- a/pkgs/by-name/we/webassemblyjs-repl/package.nix +++ b/pkgs/by-name/we/webassemblyjs-repl/package.nix @@ -8,6 +8,7 @@ nodejs, makeBinaryWrapper, gcc, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "webassemblyjs-repl"; @@ -59,6 +60,8 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstall ''; + passthru.updateScript = nix-update-script { }; + meta = { description = "WebAssembly REPL"; homepage = "https://webassembly.js.org";