many packages: add updateScript (#464747)

This commit is contained in:
dish
2025-11-26 00:03:26 +00:00
committed by GitHub
16 changed files with 48 additions and 0 deletions
@@ -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";
@@ -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";
@@ -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";
+3
View File
@@ -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/";
+3
View File
@@ -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";
+3
View File
@@ -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";
+3
View File
@@ -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";
+3
View File
@@ -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";
+3
View File
@@ -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";
+3
View File
@@ -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";
+3
View File
@@ -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";
@@ -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";
@@ -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";
+3
View File
@@ -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";
@@ -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";
@@ -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";