From 299d054a7f5cc3d6d0e6731cea5bc4dc9ec2afdb Mon Sep 17 00:00:00 2001 From: Philip Munksgaard Date: Tue, 30 Mar 2021 00:33:00 +0200 Subject: [PATCH] bitwarden_rs: 1.19.0 -> 1.20.0 (#117931) * bitwarden_rs: 1.19.0 -> 1.20.0 * bitwarden_rs: Fix failing integration tests --- nixos/tests/bitwarden.nix | 1 + pkgs/tools/security/bitwarden_rs/default.nix | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/tests/bitwarden.nix b/nixos/tests/bitwarden.nix index 5345c7245d00..3813a1f70f96 100644 --- a/nixos/tests/bitwarden.nix +++ b/nixos/tests/bitwarden.nix @@ -113,6 +113,7 @@ let driver.find_element_by_css_selector('input#masterPasswordRetype').send_keys( '${userPassword}' ) + driver.find_element_by_css_selector('input#acceptPolicies').click() driver.find_element_by_xpath("//button[contains(., 'Submit')]").click() diff --git a/pkgs/tools/security/bitwarden_rs/default.nix b/pkgs/tools/security/bitwarden_rs/default.nix index 2cce00693a4f..5676e4005c13 100644 --- a/pkgs/tools/security/bitwarden_rs/default.nix +++ b/pkgs/tools/security/bitwarden_rs/default.nix @@ -8,13 +8,13 @@ let in rustPlatform.buildRustPackage rec { pname = "bitwarden_rs"; - version = "1.19.0"; + version = "1.20.0"; src = fetchFromGitHub { owner = "dani-garcia"; repo = pname; rev = version; - sha256 = "1iww8fhh4indmgw1j35whqyakd4bppmiyjpcdf2qrzg52x5binh0"; + sha256 = "1ncy4iwmdzdp8rv1gc5i4s1rp97d94n4l4bh08v6w4zdpx0zn8b9"; }; nativeBuildInputs = [ pkg-config ]; @@ -25,7 +25,7 @@ in rustPlatform.buildRustPackage rec { RUSTC_BOOTSTRAP = 1; - cargoSha256 = "0ga7ahlszja8ilng8xsrwdy7zy6bbci4mf00lknladjhlw16wibf"; + cargoSha256 = "139by5y2ma3v52nabzr5man1qy395rchs2dlivkj9xi829kg4mcr"; cargoBuildFlags = [ featuresFlag ]; checkPhase = ''