vaultwarden.webvault: 2024.6.2b -> 2024.6.2c (#338753)

This commit is contained in:
Sandro 2024-09-01 16:24:26 +02:00 committed by GitHub
commit 6e2fbbd064
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;