vaultwarden.webvault: 2024.6.2b -> 2024.6.2c

Changelog: https://github.com/dani-garcia/bw_web_builds/releases/tag/v2024.6.2c
(cherry picked from commit 27cf88273b)
This commit is contained in:
Robert Schütz 2024-08-31 23:34:30 -07:00
parent 476f5072a6
commit ecf8fd8508

View File

@ -3,18 +3,20 @@
, fetchFromGitHub
, git
, nixosTests
, python311
, python3
, vaultwarden
}:
let
version = "2024.6.2b";
version = "2024.6.2c";
suffix = lib.head (lib.match "[0-9.]*([a-z]*)" version);
bw_web_builds = fetchFromGitHub {
owner = "dani-garcia";
repo = "bw_web_builds";
rev = "v${version}";
hash = "sha256-Gcn/TOXdhMqGq4NTCPQTTEvN5rOQS3LImPUYBsv8de8=";
hash = "sha256-Gd8yQx9j6ieUvaM6IPSELNRy83y0cBkBwLYMqk8OIjU=";
};
in buildNpmPackage rec {
@ -24,7 +26,7 @@ in buildNpmPackage rec {
src = fetchFromGitHub {
owner = "bitwarden";
repo = "clients";
rev = "web-v${lib.removeSuffix "b" version}";
rev = "web-v${lib.removeSuffix suffix version}";
hash = "sha256-HMQ0oQ04WkLlUgsYt6ZpcziDq05mnSA0+VnJCpteceg=";
};
@ -37,8 +39,7 @@ in buildNpmPackage rec {
'';
nativeBuildInputs = [
# signalr through gyp wants to import distutils
python311
(python3.withPackages (ps: [ ps.setuptools ]))
];
makeCacheWritable = true;