Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: psqlodbc 0 -> 1 attrpath: psqlodbc Checking auto update branch... [version] [version] skipping because derivation has updateScript [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/82b211awxwff7dclsrr3czpgqdmw9jfi-packages.json.drv building '/nix/store/82b211awxwff7dclsrr3czpgqdmw9jfi-packages.json.drv'... Going to be running update for following packages: - psqlodbc-18.00.0001 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - psqlodbc-18.00.0001: UPDATING ... - psqlodbc-18.00.0001: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ps/psqlodbc/package.nix b/pkgs/by-name/ps/psqlodbc/package.nix index e62928863aac..b38c756eee66 100644 --- a/pkgs/by-name/ps/psqlodbc/package.nix +++ b/pkgs/by-name/ps/psqlodbc/package.nix @@ -18,13 +18,13 @@ assert lib.xor withLibiodbc withUnixODBC; stdenv.mkDerivation (finalAttrs: { pname = "psqlodbc"; - version = "18.00.0001"; + version = "18.00.0002"; src = fetchFromGitHub { owner = "postgresql-interfaces"; repo = "psqlodbc"; tag = "REL-${lib.replaceString "." "_" finalAttrs.version}"; - hash = "sha256-gCacZjP0FkCEuZRBfawZ2B3BcjR/sV1fypuT8XD2l+A="; + hash = "sha256-qzbyo9P/o784Ux3KDA8NDMbcm0EbnfG8LiBLRk6n698="; }; buildInputs = [ No auto update branch exists Old version 18.00.0001" not present in staging derivation file with contents: { autoreconfHook, fetchFromGitHub, lib, libpq, nix-update-script, openssl, stdenv, withLibiodbc ? false, libiodbc, withUnixODBC ? true, unixodbc, }: assert lib.xor withLibiodbc withUnixODBC; stdenv.mkDerivation (finalAttrs: { pname = "psqlodbc"; version = "18.00.0002"; src = fetchFromGitHub { owner = "postgresql-interfaces"; repo = "psqlodbc"; tag = "REL-${lib.replaceString "." "_" finalAttrs.version}"; hash = "sha256-qzbyo9P/o784Ux3KDA8NDMbcm0EbnfG8LiBLRk6n698="; }; buildInputs = [ libpq openssl ] ++ lib.optional withLibiodbc libiodbc ++ lib.optional withUnixODBC unixodbc; nativeBuildInputs = [ autoreconfHook ]; strictDeps = true; configureFlags = [ "CPPFLAGS=-DSQLCOLATTRIBUTE_SQLLEN" # needed for cross "--with-libpq=${lib.getDev libpq}" ] ++ lib.optional withLibiodbc "--with-iodbc=${libiodbc}" ++ lib.optional withUnixODBC "--with-unixodbc=${unixodbc}"; passthru = { updateScript = nix-update-script { extraArgs = [ "--version-regex=^REL-(\\d+)_(\\d+)_(\\d+)$" ]; }; } // lib.optionalAttrs withUnixODBC { fancyName = "PostgreSQL"; driver = "lib/psqlodbcw.so"; }; meta = { homepage = "https://odbc.postgresql.org/"; description = "ODBC driver for PostgreSQL"; license = lib.licenses.lgpl2; platforms = lib.platforms.unix; teams = libpq.meta.teams; }; })