Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: libpciaccess 0 -> 1 attrpath: libpciaccess 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] these 2 derivations will be built: /nix/store/m9f7sv1097a2iqqga03yp5dh6i177d9y-update-libpciaccess.drv /nix/store/83v1pw4x13g5mnx6cdl0mz8j70gp5m9s-packages.json.drv building '/nix/store/m9f7sv1097a2iqqga03yp5dh6i177d9y-update-libpciaccess.drv'... building '/nix/store/83v1pw4x13g5mnx6cdl0mz8j70gp5m9s-packages.json.drv'... Going to be running update for following packages: - libpciaccess-0.18.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - libpciaccess-0.18.1: UPDATING ... - libpciaccess-0.18.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/li/libpciaccess/package.nix b/pkgs/by-name/li/libpciaccess/package.nix index 2815baac2da5..a9b96e07c577 100644 --- a/pkgs/by-name/li/libpciaccess/package.nix +++ b/pkgs/by-name/li/libpciaccess/package.nix @@ -14,11 +14,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "libpciaccess"; - version = "0.18.1"; + version = "0.19"; src = fetchurl { url = "mirror://xorg/individual/lib/libpciaccess-${finalAttrs.version}.tar.xz"; - hash = "sha256-SvQ0RLOK21VF0O0cLORtlgjMR7McI4f8UYFlZ2Wm+nY="; + hash = "sha256-PFWqhsguVKTjEJeG8EY1MNU7NrbRz9FGFkVPmF3SqkM="; }; strictDeps = true; No auto update branch exists Old version 0.18.1" not present in staging derivation file with contents: { lib, stdenv, fetchurl, testers, writeScript, pkg-config, meson, ninja, zlib, netbsd, hwdata, }: stdenv.mkDerivation (finalAttrs: { pname = "libpciaccess"; version = "0.19"; src = fetchurl { url = "mirror://xorg/individual/lib/libpciaccess-${finalAttrs.version}.tar.xz"; hash = "sha256-PFWqhsguVKTjEJeG8EY1MNU7NrbRz9FGFkVPmF3SqkM="; }; strictDeps = true; nativeBuildInputs = [ pkg-config meson ninja ]; buildInputs = [ zlib ] ++ lib.optionals stdenv.hostPlatform.isNetBSD [ netbsd.libarch netbsd.libpci ]; mesonFlags = [ (lib.mesonOption "pci-ids" "${hwdata}/share/hwdata") (lib.mesonEnable "zlib" true) ]; passthru = { updateScript = writeScript "update-${finalAttrs.pname}" '' #!/usr/bin/env nix-shell #!nix-shell -i bash -p common-updater-scripts version="$(list-directory-versions --pname ${finalAttrs.pname} \ --url https://xorg.freedesktop.org/releases/individual/lib/ \ | sort -V | tail -n1)" update-source-version ${finalAttrs.pname} "$version" ''; tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; }; meta = { description = "Generic PCI access library"; homepage = "https://gitlab.freedesktop.org/xorg/lib/libpciaccess"; license = with lib.licenses; [ mit isc x11 ]; pkgConfigModules = [ "pciaccess" ]; # https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/blob/6cd5a4afbb70868c7746de8d50dea59e02e9acf2/configure.ac#L108-114 platforms = with lib.platforms; cygwin ++ freebsd ++ illumos ++ linux ++ lib.platforms.netbsd # otherwise netbsd from the function arguments is used ++ openbsd; badPlatforms = [ # mandatory shared library lib.systems.inspect.platformPatterns.isStatic ]; }; })