From c293e7a1daef55236790336faaef11b05b03243c Mon Sep 17 00:00:00 2001 From: Shelvacu Date: Wed, 3 Dec 2025 13:19:57 -0800 Subject: [PATCH 1/2] copyparty: 1.19.20 -> 1.19.21 release notes: https://github.com/9001/copyparty/releases/tag/v1.19.21 --- pkgs/by-name/co/copyparty/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/co/copyparty/package.nix b/pkgs/by-name/co/copyparty/package.nix index 558b476480be..e33b778e5c1d 100644 --- a/pkgs/by-name/co/copyparty/package.nix +++ b/pkgs/by-name/co/copyparty/package.nix @@ -71,11 +71,11 @@ in python3Packages.buildPythonApplication rec { pname = "copyparty${nameSuffix}"; - version = "1.19.20"; + version = "1.19.21"; src = fetchurl { url = "https://github.com/9001/copyparty/releases/download/v${version}/copyparty-${version}.tar.gz"; - hash = "sha256-BQzMNFVOWSEKynpn2HoYbmmz9NvgE9XuLxGiLCWagqY="; + hash = "sha256-RHI6gj8hjlKq7GB1aVlzp1uGY8kgLID9c/SOUsYazUI="; }; pyproject = true; From fab23265d6c6678e49a0526d6111ac8a9c26fdc9 Mon Sep 17 00:00:00 2001 From: Shelvacu Date: Wed, 3 Dec 2025 16:07:42 -0800 Subject: [PATCH 2/2] copyparty-{min,most,full-buggy}: tell nixpkgs-update not to run on these packages --- pkgs/by-name/co/copyparty-full-buggy/package.nix | 16 ++++++++++++++-- pkgs/by-name/co/copyparty-min/package.nix | 16 ++++++++++++++-- pkgs/by-name/co/copyparty-most/package.nix | 16 ++++++++++++++-- 3 files changed, 42 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/co/copyparty-full-buggy/package.nix b/pkgs/by-name/co/copyparty-full-buggy/package.nix index d717d141a832..b8033827c5ef 100644 --- a/pkgs/by-name/co/copyparty-full-buggy/package.nix +++ b/pkgs/by-name/co/copyparty-full-buggy/package.nix @@ -1,5 +1,5 @@ { copyparty }: -copyparty.override { +(copyparty.override { withHashedPasswords = true; withCertgen = true; withThumbnails = true; @@ -14,4 +14,16 @@ copyparty.override { withSMB = true; nameSuffix = "-full-buggy"; longDescription = "Full variant, all dependencies and features including those marked buggy"; -} +}).overrideAttrs + (old: { + # don't try to update this package, just update `copyparty` + # nixpkgs-update: no auto update + passthru = old.passthru // { + updateScript = null; + }; + + meta = old.meta // { + # this serves two purposes: it changes the description, but also makes meta.position point to this file so that the 'no auto update' works + description = old.meta.description + " - full variant"; + }; + }) diff --git a/pkgs/by-name/co/copyparty-min/package.nix b/pkgs/by-name/co/copyparty-min/package.nix index b2bd2b42ce53..bceaeaa63112 100644 --- a/pkgs/by-name/co/copyparty-min/package.nix +++ b/pkgs/by-name/co/copyparty-min/package.nix @@ -1,5 +1,5 @@ { copyparty }: -copyparty.override { +(copyparty.override { withHashedPasswords = false; withCertgen = false; withThumbnails = false; @@ -14,4 +14,16 @@ copyparty.override { withMagic = false; nameSuffix = "-min"; longDescription = "Minimal variant, minimal dependencies and fewest features"; -} +}).overrideAttrs + (old: { + # don't try to update this package, just update `copyparty` + # nixpkgs-update: no auto update + passthru = old.passthru // { + updateScript = null; + }; + + meta = old.meta // { + # this serves two purposes: it changes the description, but also makes meta.position point to this file so that the 'no auto update' works + description = old.meta.description + " - minimal variant"; + }; + }) diff --git a/pkgs/by-name/co/copyparty-most/package.nix b/pkgs/by-name/co/copyparty-most/package.nix index 6e8fa8e8b205..038cb89b8c69 100644 --- a/pkgs/by-name/co/copyparty-most/package.nix +++ b/pkgs/by-name/co/copyparty-most/package.nix @@ -1,5 +1,5 @@ { copyparty }: -copyparty.override { +(copyparty.override { withHashedPasswords = true; withCertgen = true; withThumbnails = true; @@ -14,4 +14,16 @@ copyparty.override { withMagic = true; nameSuffix = "-most"; longDescription = "Almost-full variant, all dependencies and features except those marked buggy"; -} +}).overrideAttrs + (old: { + # don't try to update this package, just update `copyparty` + # nixpkgs-update: no auto update + passthru = old.passthru // { + updateScript = null; + }; + + meta = old.meta // { + # this serves two purposes: it changes the description, but also makes meta.position point to this file so that the 'no auto update' works + description = old.meta.description + " - most variant"; + }; + })