Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: nasm 0 -> 1 attrpath: nasm Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/1fjyb4mx0yfxm666pz9ivbjqzgbvr0h9-packages.json.drv building '/nix/store/1fjyb4mx0yfxm666pz9ivbjqzgbvr0h9-packages.json.drv'... Going to be running update for following packages: - nasm-3.01 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - nasm-3.01: UPDATING ... - nasm-3.01: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/na/nasm/package.nix b/pkgs/by-name/na/nasm/package.nix index 5b611b57591c..d7f143d65030 100644 --- a/pkgs/by-name/na/nasm/package.nix +++ b/pkgs/by-name/na/nasm/package.nix @@ -9,11 +9,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "nasm"; - version = "3.01"; + version = "3.02"; src = fetchurl { url = "https://www.nasm.us/pub/nasm/releasebuilds/${finalAttrs.version}/nasm-${finalAttrs.version}.tar.xz"; - hash = "sha256-tzJMvobnZ7ZfJvRn7YsSrYDhJOPMuJB2hVyY5Dqe3dQ="; + hash = "sha256-hzNuulO0rP6RdCSrXVANKwBU2fUUjTXCJzzPLPtxLw0="; }; patches = [ No auto update branch exists Old version 3.01" not present in staging derivation file with contents: { lib, stdenv, fetchurl, fetchpatch, perl, gitUpdater, }: stdenv.mkDerivation (finalAttrs: { pname = "nasm"; version = "3.02"; src = fetchurl { url = "https://www.nasm.us/pub/nasm/releasebuilds/${finalAttrs.version}/nasm-${finalAttrs.version}.tar.xz"; hash = "sha256-hzNuulO0rP6RdCSrXVANKwBU2fUUjTXCJzzPLPtxLw0="; }; patches = [ # Backport the fix for https://github.com/netwide-assembler/nasm/issues/203 # buffer overflow. (fetchpatch { name = "output-oob-fix.patch"; url = "https://github.com/netwide-assembler/nasm/commit/8890d723d0aa9ed1a790e2ce1c55eee8dfa0cf94.patch"; hash = "sha256-m03+bhKTgKlqeRLGZIy6GO5BTPIJ3r398VQrtN4waaw="; }) ]; nativeBuildInputs = [ perl ]; enableParallelBuilding = true; doCheck = true; checkPhase = '' runHook preCheck make golden make test runHook postCheck ''; passthru.updateScript = gitUpdater { url = "https://github.com/netwide-assembler/nasm.git"; rev-prefix = "nasm-"; ignoredVersions = "rc.*"; }; meta = { homepage = "https://www.nasm.us/"; description = "80x86 and x86-64 assembler designed for portability and modularity"; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ pSub ]; mainProgram = "nasm"; license = lib.licenses.bsd2; }; })