bitwarden-cli: 2024.12.0 -> 2025.1.2 (#378937)

This commit is contained in:
Robert Schütz
2025-02-10 11:44:29 -08:00
committed by GitHub
+11 -3
View File
@@ -13,13 +13,13 @@
buildNpmPackage rec {
pname = "bitwarden-cli";
version = "2024.12.0";
version = "2025.1.2";
src = fetchFromGitHub {
owner = "bitwarden";
repo = "clients";
rev = "cli-v${version}";
hash = "sha256-3aN2t8/qhN0sjACvtip45efHQJl8nEMNre0+oBL1/go=";
hash = "sha256-Ibf25+aaEKFUCp5uiqmHySfdZq2JPAu2nBzfiS4Sc/k=";
};
postPatch = ''
@@ -29,7 +29,7 @@ buildNpmPackage rec {
nodejs = nodejs_20;
npmDepsHash = "sha256-EtIcqbubAYN9I9wbw17oHiVshd3GtQayFtdgqWP7Pgg=";
npmDepsHash = "sha256-+LpF5zxC4TG5tF+RNgimLyEmGYyUfFDXHqs2RH9oQLY=";
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
cctools
@@ -50,6 +50,14 @@ buildNpmPackage rec {
npmFlags = [ "--legacy-peer-deps" ];
# FIXME temporarily disable the symlink check as there are symlink after the build in the `node_modules/@bitwarden` directory linking to `../../`.
dontCheckForBrokenSymlinks = true;
npmRebuildFlags = [
# FIXME one of the esbuild versions fails to download @esbuild/linux-x64
"--ignore-scripts"
];
postConfigure = ''
# we want to build everything from source
shopt -s globstar