Unverified Commit 6e2fbbd0 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

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

parents 00ac0bbe 27cf8827
Loading
Loading
Loading
Loading
+7 −6
Original line number Diff line number Diff line
@@ -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;