mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
vaultwarden.webvault: 2024.6.2b -> 2024.6.2c
Changelog: https://github.com/dani-garcia/bw_web_builds/releases/tag/v2024.6.2c
This commit is contained in:
parent
92b2aea3c7
commit
27cf88273b
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue