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"; + }; + }) 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;