Skip to content

Commit

Permalink
vaultwarden.webvault: 2024.6.2b -> 2024.6.2c
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda authored and SuperSandro2000 committed Sep 1, 2024
1 parent 020f294 commit 2c57daa
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pkgs/tools/security/vaultwarden/webvault.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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=";
};

Expand All @@ -37,8 +39,7 @@ in buildNpmPackage rec {
'';

nativeBuildInputs = [
# signalr through gyp wants to import distutils
python311
(python3.withPackages (ps: [ ps.setuptools ]))
];

makeCacheWritable = true;
Expand Down

0 comments on commit 2c57daa

Please sign in to comment.