vaultwarden-sqlite 1.30.1 -> 1.30.2 https://github.com/dani-garcia/vaultwarden/releases attrpath: vaultwarden-sqlite Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] skipping because derivation has updateScript [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/kghdjswjyia2fy10wxjvb9j48lpxlpy6-packages.json.drv building '/nix/store/kghdjswjyia2fy10wxjvb9j48lpxlpy6-packages.json.drv'... Going to be running update for following packages: - vaultwarden-1.30.1 Press Enter key to continue... Running update for: - vaultwarden-1.30.1: UPDATING ... - vaultwarden-1.30.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/tools/security/vaultwarden/default.nix b/pkgs/tools/security/vaultwarden/default.nix index 762c8312c1e6..91d214d1b5fa 100644 --- a/pkgs/tools/security/vaultwarden/default.nix +++ b/pkgs/tools/security/vaultwarden/default.nix @@ -9,16 +9,16 @@ in rustPlatform.buildRustPackage rec { pname = "vaultwarden"; - version = "1.30.1"; + version = "1.30.2"; src = fetchFromGitHub { owner = "dani-garcia"; repo = pname; rev = version; - hash = "sha256-9JCrEe0tla4v207XPgprLqP3g0BslpX8f7xa9aUhQcg="; + hash = "sha256-azJ1DvcKq+UwbG2tZk3oCfgHUcCsxlbqjuywVFKjyVM="; }; - cargoHash = "sha256-4KyBMOdTAHe5uD6X69gMd0aqIo4w2Rqrlg+25yY2B6o="; + cargoHash = "sha256-4xW5xiMWuriWMQgB8ZEnYWEPlkQraVKZqM1iT2t2jTo="; nativeBuildInputs = [ pkg-config ]; buildInputs = with lib; [ openssl ] diff --git a/pkgs/tools/security/vaultwarden/webvault.nix b/pkgs/tools/security/vaultwarden/webvault.nix index 3e4180cc05b2..6dae287e869f 100644 --- a/pkgs/tools/security/vaultwarden/webvault.nix +++ b/pkgs/tools/security/vaultwarden/webvault.nix @@ -7,13 +7,13 @@ }: let - version = "2024.1.1b"; + version = "2024.1.2"; bw_web_builds = fetchFromGitHub { owner = "dani-garcia"; repo = "bw_web_builds"; rev = "v${version}"; - hash = "sha256-jdr+3sIFdKmi0CI3TyFv+wCbhOBJECKQtx+X5EZjRsQ="; + hash = "sha256-XpFGLZpX5BeP6cEZfGlNnh94aS6As0eCnllVyHLrOWo="; }; in buildNpmPackage rec { @@ -24,10 +24,10 @@ in buildNpmPackage rec { owner = "bitwarden"; repo = "clients"; rev = "web-v${lib.removeSuffix "b" version}"; - hash = "sha256-695iCkFhPEyyI4ekbjsdWpxgPy+bX392/X30HyL4F4Y="; + hash = "sha256-hzAkVzaCjwoZ/PMnsnSmsqUBWLhqfPWuWVujChy0V38="; }; - npmDepsHash = "sha256-IJ5JVz9hHu3NOzFJAyzfhsMfPQgYQGntDEDuBMI/iZc="; + npmDepsHash = "sha256-KTqPf8jy8cgGz0+1GssSzEfPVSSQlLenLPgHggNoGfc="; postPatch = '' ln -s ${bw_web_builds}/{patches,resources} .. No auto update branch exists Successfully finished processing cachix "/nix/store/dbk0bnk7b7n8kj4zl45zy5a1cyy1l2f1-vaultwarden-1.30.2" [check][nixpkgs-review] Result of `nixpkgs-review` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package blacklisted:
3 packages 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 vaultwarden-sqlite is: Unofficial Bitwarden compatible server written in Rust meta.homepage for vaultwarden-sqlite is: https://github.com/dani-garcia/vaultwarden ###### Updates performed - Ran passthru.UpdateScript ###### To inspect upstream changes - [Release on GitHub](https://github.com/dani-garcia/vaultwarden/releases/tag/1.30.2) - [Compare changes on GitHub](https://github.com/dani-garcia/vaultwarden/compare/1.30.1...1.30.2) ###### Impact Checks done --- - built on NixOS - The tests defined in `passthru.tests`, if any, passed - found 1.30.2 with grep in /nix/store/dbk0bnk7b7n8kj4zl45zy5a1cyy1l2f1-vaultwarden-1.30.2 - found 1.30.2 in filename of file in /nix/store/dbk0bnk7b7n8kj4zl45zy5a1cyy1l2f1-vaultwarden-1.30.2 ---
Rebuild report (if merged into master) (click to expand) ``` 6 total rebuild path(s) 6 package rebuild(s) First fifty rebuilds by attrpath nixos-install-tools tests.nixos-functions.nixos-test vaultwarden vaultwarden-mysql vaultwarden-postgresql vaultwarden-sqlite ```
Instructions to test this update (click to expand) --- Either **download from Cachix**: ``` nix-store -r /nix/store/dbk0bnk7b7n8kj4zl45zy5a1cyy1l2f1-vaultwarden-1.30.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 vaultwarden-sqlite https://github.com/r-ryantm/nixpkgs/archive/e504fc24514f0eab117f9d0803a5598728a84230.tar.gz ``` Or: ``` nix build github:r-ryantm/nixpkgs/e504fc24514f0eab117f9d0803a5598728a84230#vaultwarden-sqlite ``` After you've downloaded or built it, look at the files and if there are any, run the binaries: ``` ls -la /nix/store/dbk0bnk7b7n8kj4zl45zy5a1cyy1l2f1-vaultwarden-1.30.2 ls -la /nix/store/dbk0bnk7b7n8kj4zl45zy5a1cyy1l2f1-vaultwarden-1.30.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 blacklisted:
3 packages built:
--- ###### Maintainer pings cc @msteen @ivan 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/285222