kubeshark 41.6 -> 50.0 https://repology.org/project/kubeshark/versions attrpath: kubeshark Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] skipping because derivation has updateScript [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/43k7hisq5ibzp3nww00fn76d8cbm010l-packages.json.drv building '/nix/store/43k7hisq5ibzp3nww00fn76d8cbm010l-packages.json.drv'... Going to be running update for following packages: - kubeshark-41.6 Press Enter key to continue... Running update for: - kubeshark-41.6: UPDATING ... - kubeshark-41.6: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/applications/networking/cluster/kubeshark/default.nix b/pkgs/applications/networking/cluster/kubeshark/default.nix index 76d8a0905af3..23f43688d5c9 100644 --- a/pkgs/applications/networking/cluster/kubeshark/default.nix +++ b/pkgs/applications/networking/cluster/kubeshark/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "kubeshark"; - version = "41.6"; + version = "50.2"; src = fetchFromGitHub { owner = "kubeshark"; repo = "kubeshark"; rev = version; - sha256 = "sha256-UFBht8H8iOHwMU8PM2FCb+oh7rTkN/XC3/W3EmuTp84="; + sha256 = "sha256-bABPfy790cMIfunKYfZwDbEn07fhq6g0m/yqeFgJg4Y="; }; vendorHash = "sha256-rcxnvKkc9zerfULRdU5eGRRqSDQQDNMYaLJ7oEMQghk="; No auto update branch exists Successfully finished processing cachix "/nix/store/fiq7bhsmmfni8sbw5s2jcap0vin0ygb3-kubeshark-50.2" [check][nixpkgs-review] Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from passthru.updateScript. meta.description for kubeshark is: The API Traffic Viewer for Kubernetes meta.homepage for kubeshark is: https://kubeshark.co/ meta.changelog for kubeshark is: https://github.com/kubeshark/kubeshark/releases/tag/50.2 ###### Updates performed - Ran passthru.UpdateScript ###### To inspect upstream changes - [Release on GitHub](https://github.com/kubeshark/kubeshark/releases/tag/50.2) - [Compare changes on GitHub](https://github.com/kubeshark/kubeshark/compare/41.6...50.2) ###### Impact
Checks done (click to expand) --- - built on NixOS - The tests defined in `passthru.tests`, if any, passed - found 50.2 with grep in /nix/store/fiq7bhsmmfni8sbw5s2jcap0vin0ygb3-kubeshark-50.2 - found 50.2 in filename of file in /nix/store/fiq7bhsmmfni8sbw5s2jcap0vin0ygb3-kubeshark-50.2 ---
Rebuild report (if merged into master) (click to expand) ``` 1 total rebuild path(s) 1 package rebuild(s) First fifty rebuilds by attrpath kubeshark ```
Instructions to test this update (click to expand) --- Either **download from Cachix**: ``` nix-store -r /nix/store/fiq7bhsmmfni8sbw5s2jcap0vin0ygb3-kubeshark-50.2 \ --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \ --option trusted-public-keys ' nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ' ``` (The Cachix cache is only trusted for this store-path realization.) For the Cachix download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted. Or, **build yourself**: ``` nix-build -A kubeshark https://github.com/r-ryantm/nixpkgs/archive/9625107037dc9fade241db8bf3f72e08fabc0bce.tar.gz ``` After you've downloaded or built it, look at the files and if there are any, run the binaries: ``` ls -la /nix/store/fiq7bhsmmfni8sbw5s2jcap0vin0ygb3-kubeshark-50.2 ls -la /nix/store/fiq7bhsmmfni8sbw5s2jcap0vin0ygb3-kubeshark-50.2/bin ``` ---

### Pre-merge build results We have automatically built all packages that will get rebuilt due to this change. This gives evidence on whether the upgrade will break dependent packages. Note sometimes packages show up as _failed to build_ independent of the change, simply because they are already broken on the target branch. Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
--- ###### Maintainer pings cc @bryanasdev000 @qjoly for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). https://api.github.com/repos/NixOS/nixpkgs/pulls/253028 kubeshark 41.6 -> 50.2 https://github.com/kubeshark/kubeshark/releases attrpath: kubeshark Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] skipping because derivation has updateScript [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/43k7hisq5ibzp3nww00fn76d8cbm010l-packages.json.drv building '/nix/store/43k7hisq5ibzp3nww00fn76d8cbm010l-packages.json.drv'... Going to be running update for following packages: - kubeshark-41.6 Press Enter key to continue... Running update for: - kubeshark-41.6: UPDATING ... - kubeshark-41.6: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/applications/networking/cluster/kubeshark/default.nix b/pkgs/applications/networking/cluster/kubeshark/default.nix index 76d8a0905af3..23f43688d5c9 100644 --- a/pkgs/applications/networking/cluster/kubeshark/default.nix +++ b/pkgs/applications/networking/cluster/kubeshark/default.nix @@ -2,13 +2,13 @@ buildGoModule rec { pname = "kubeshark"; - version = "41.6"; + version = "50.2"; src = fetchFromGitHub { owner = "kubeshark"; repo = "kubeshark"; rev = version; - sha256 = "sha256-UFBht8H8iOHwMU8PM2FCb+oh7rTkN/XC3/W3EmuTp84="; + sha256 = "sha256-bABPfy790cMIfunKYfZwDbEn07fhq6g0m/yqeFgJg4Y="; }; vendorHash = "sha256-rcxnvKkc9zerfULRdU5eGRRqSDQQDNMYaLJ7oEMQghk="; No auto update branch exists Old version 41.6" not present in master derivation file with contents: { stdenv, lib, buildGoModule, fetchFromGitHub, installShellFiles, testers, kubeshark, nix-update-script }: buildGoModule rec { pname = "kubeshark"; version = "50.2"; src = fetchFromGitHub { owner = "kubeshark"; repo = "kubeshark"; rev = version; sha256 = "sha256-bABPfy790cMIfunKYfZwDbEn07fhq6g0m/yqeFgJg4Y="; }; vendorHash = "sha256-rcxnvKkc9zerfULRdU5eGRRqSDQQDNMYaLJ7oEMQghk="; ldflags = let t = "github.com/kubeshark/kubeshark"; in [ "-s" "-w" "-X ${t}/misc.GitCommitHash=${src.rev}" "-X ${t}/misc.Branch=master" "-X ${t}/misc.BuildTimestamp=0" "-X ${t}/misc.Platform=unknown" "-X ${t}/misc.Ver=${version}" ]; nativeBuildInputs = [ installShellFiles ]; checkPhase = '' go test ./... ''; doCheck = true; postInstall = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' installShellCompletion --cmd kubeshark \ --bash <($out/bin/kubeshark completion bash) \ --fish <($out/bin/kubeshark completion fish) \ --zsh <($out/bin/kubeshark completion zsh) ''; passthru = { tests.version = testers.testVersion { package = kubeshark; command = "kubeshark version"; inherit version; }; updateScript = nix-update-script { }; }; meta = with lib; { changelog = "https://github.com/kubeshark/kubeshark/releases/tag/${version}"; description = "The API Traffic Viewer for Kubernetes"; homepage = "https://kubeshark.co/"; license = licenses.asl20; longDescription = '' The API traffic viewer for Kubernetes providing real-time, protocol-aware visibility into Kubernetes’ internal network, Think TCPDump and Wireshark re-invented for Kubernetes capturing, dissecting and monitoring all traffic and payloads going in, out and across containers, pods, nodes and clusters. ''; maintainers = with maintainers; [ bryanasdev000 qjoly ]; }; }