kbd 0 -> 1 attrpath: kbd Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] Going to be running update for following packages: - kbd-2.6.3 Press Enter key to continue... Running update for: - kbd-2.6.3: UPDATING ... - kbd-2.6.3: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/os-specific/linux/kbd/default.nix b/pkgs/os-specific/linux/kbd/default.nix index 9d97f73780d5..badb02aaec5a 100644 --- a/pkgs/os-specific/linux/kbd/default.nix +++ b/pkgs/os-specific/linux/kbd/default.nix @@ -17,11 +17,11 @@ stdenv.mkDerivation rec { pname = "kbd"; - version = "2.6.3"; + version = "2.6.4"; src = fetchurl { url = "mirror://kernel/linux/utils/kbd/${pname}-${version}.tar.xz"; - sha256 = "sha256-BJlsCNfRxGCWb7JEo9OIM1LCZ0t61SIAPZ9Oy4q0jes="; + sha256 = "sha256-UZ+NCHrsyn4KM80IS++SwGbrGXMWZmU9zHDJ1xqkCSY="; }; # vlock is moved into its own output, since it depends on pam. This No auto update branch exists Old version 2.6.3" not present in staging derivation file with contents: { lib , stdenv , fetchurl , nixosTests , autoreconfHook , pkg-config , flex , check , pam , coreutils , gzip , bzip2 , xz , zstd , gitUpdater }: stdenv.mkDerivation rec { pname = "kbd"; version = "2.6.4"; src = fetchurl { url = "mirror://kernel/linux/utils/kbd/${pname}-${version}.tar.xz"; sha256 = "sha256-UZ+NCHrsyn4KM80IS++SwGbrGXMWZmU9zHDJ1xqkCSY="; }; # vlock is moved into its own output, since it depends on pam. This # reduces closure size for most use cases. outputs = [ "out" "vlock" "dev" ]; configureFlags = [ "--enable-optional-progs" "--enable-libkeymap" "--disable-nls" ]; patches = [ ./search-paths.patch ]; postPatch = '' # Renaming keymaps with name clashes, because loadkeys just picks # the first keymap it sees. The clashing names lead to e.g. # "loadkeys no" defaulting to a norwegian dvorak map instead of # the much more common qwerty one. pushd data/keymaps/i386 mv qwertz/cz{,-qwertz}.map mv olpc/es{,-olpc}.map mv olpc/pt{,-olpc}.map mv fgGIod/trf{,-fgGIod}.map mv colemak/{en-latin9,colemak}.map popd # Fix paths to decompressors. Trailing space to avoid replacing `xz` in `".xz"`. substituteInPlace src/libkbdfile/kbdfile.c \ --replace 'gzip ' '${gzip}/bin/gzip ' \ --replace 'bzip2 ' '${bzip2.bin}/bin/bzip2 ' \ --replace 'xz ' '${xz.bin}/bin/xz ' \ --replace 'zstd ' '${zstd.bin}/bin/zstd ' sed -i ' 1i prefix:=$(vlock) 1i bindir := $(vlock)/bin' \ src/vlock/Makefile.in \ src/vlock/Makefile.am ''; postInstall = '' for i in $out/bin/unicode_{start,stop}; do substituteInPlace "$i" \ --replace /usr/bin/tty ${coreutils}/bin/tty done ''; buildInputs = [ check pam ]; NIX_LDFLAGS = lib.optional stdenv.hostPlatform.isStatic "-laudit"; nativeBuildInputs = [ autoreconfHook pkg-config flex ]; passthru.tests = { inherit (nixosTests) keymap kbd-setfont-decompress kbd-update-search-paths-patch; }; passthru = { gzip = gzip; updateScript = gitUpdater { # No nicer place to find latest release. url = "https://github.com/legionus/kbd.git"; rev-prefix = "v"; }; }; meta = with lib; { homepage = "https://kbd-project.org/"; description = "Linux keyboard tools and keyboard maps"; platforms = platforms.linux; license = licenses.gpl2Plus; maintainers = with maintainers; [ davidak ]; }; }