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/bf77ij5d94h1hpxbhnxj1j0j0bcfiw5x-packages.json.drv building '/nix/store/bf77ij5d94h1hpxbhnxj1j0j0bcfiw5x-packages.json.drv'... Going to be running update for following packages: - psqlodbc-17.00.0008 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - psqlodbc-17.00.0008: UPDATING ... - psqlodbc-17.00.0008: 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 ffd367f6159e..e62928863aac 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 = "17.00.0008"; + version = "18.00.0001"; src = fetchFromGitHub { owner = "postgresql-interfaces"; repo = "psqlodbc"; tag = "REL-${lib.replaceString "." "_" finalAttrs.version}"; - hash = "sha256-eYt4RwnYfSHz2nGBW94Gkdt3E+j6eS1Ky2KPol3cLkI="; + hash = "sha256-gCacZjP0FkCEuZRBfawZ2B3BcjR/sV1fypuT8XD2l+A="; }; buildInputs = [ No auto update branch exists Old version 17.00.0008" 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.0001"; src = fetchFromGitHub { owner = "postgresql-interfaces"; repo = "psqlodbc"; tag = "REL-${lib.replaceString "." "_" finalAttrs.version}"; hash = "sha256-gCacZjP0FkCEuZRBfawZ2B3BcjR/sV1fypuT8XD2l+A="; }; 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; }; })