1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

vaultwarden: 1.30.5 -> 1.31.0

This commit is contained in:
Ashish SHUKLA 2024-07-09 01:46:08 +00:00 committed by Sandro Jäckel
parent 655a58a72a
commit 4d8ce0754f
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 4 additions and 5 deletions

View file

@ -209,7 +209,6 @@ builtins.mapAttrs (k: v: makeVaultwardenTest k v) {
server.succeed('[ -f "/var/lib/vaultwarden/backups/db.sqlite3" ]') server.succeed('[ -f "/var/lib/vaultwarden/backups/db.sqlite3" ]')
server.succeed('[ -d "/var/lib/vaultwarden/backups/attachments" ]') server.succeed('[ -d "/var/lib/vaultwarden/backups/attachments" ]')
server.succeed('[ -f "/var/lib/vaultwarden/backups/rsa_key.pem" ]') server.succeed('[ -f "/var/lib/vaultwarden/backups/rsa_key.pem" ]')
server.succeed('[ -f "/var/lib/vaultwarden/backups/rsa_key.pub.pem" ]')
# Ensure only the db backed up with the backup command exists and not the other db files. # Ensure only the db backed up with the backup command exists and not the other db files.
server.succeed('[ ! -f "/var/lib/vaultwarden/backups/db.sqlite3-shm" ]') server.succeed('[ ! -f "/var/lib/vaultwarden/backups/db.sqlite3-shm" ]')
''; '';

View file

@ -9,16 +9,16 @@ in
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "vaultwarden"; pname = "vaultwarden";
version = "1.30.5"; version = "1.31.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dani-garcia"; owner = "dani-garcia";
repo = pname; repo = "vaultwarden";
rev = version; rev = version;
hash = "sha256-OwFB5ULWBefDHSkUM3nT0v2jcc5vHUvs8Ex0JauDu8w="; hash = "sha256-fQjTSLPJQk1byjX+HADtQvQRqEaEiCmWjgA1WIMLBu4=";
}; };
cargoHash = "sha256-K0T0uTERjxlI3bGG/Tz6sJ0A08J0ROAhpppdZcdQPB8="; cargoHash = "sha256-VWKkZvuv+B9V6pgxZRGlLIRUdLEh61RpOfEnOtEBKU0=";
# used for "Server Installed" version in admin panel # used for "Server Installed" version in admin panel
env.VW_VERSION = version; env.VW_VERSION = version;