File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed
pkgs/by-name/bi/bitwarden-cli Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change 33, buildNpmPackage
44, nodejs_20
55, fetchFromGitHub
6- , python3
76, cctools
87, nix-update-script
98, nixosTests
9+ , perl
1010, xcbuild
1111} :
1212
1313buildNpmPackage rec {
1414 pname = "bitwarden-cli" ;
15- version = "2024.9 .0" ;
15+ version = "2024.11 .0" ;
1616
1717 src = fetchFromGitHub {
1818 owner = "bitwarden" ;
1919 repo = "clients" ;
2020 rev = "cli-v${ version } " ;
21- hash = "sha256-o5nRG2j73qheDOyeFfSga64D8HbTn1EUrCiN0W+Xn0w =" ;
21+ hash = "sha256-4QTQgW8k3EMf07Xqs2B+VXQOUPzoOgaNvoC02x4zvu8 =" ;
2222 } ;
2323
2424 postPatch = ''
@@ -28,12 +28,11 @@ buildNpmPackage rec {
2828
2929 nodejs = nodejs_20 ;
3030
31- npmDepsHash = "sha256-L7/frKCNlq0xr6T+aSqyEQ44yrIXwcpdU/djrhCJNNk =" ;
31+ npmDepsHash = "sha256-YzhCyNMvfXGmgOpl3qWj1Pqd1hY8CJ9QLwQds5ZMnqg =" ;
3232
33- nativeBuildInputs = [
34- ( python3 . withPackages ( ps : with ps ; [ setuptools ] ) )
35- ] ++ lib . optionals stdenv . hostPlatform . isDarwin [
33+ nativeBuildInputs = lib . optionals stdenv . hostPlatform . isDarwin [
3634 cctools
35+ perl
3736 xcbuild . xcrun
3837 ] ;
3938
@@ -44,15 +43,6 @@ buildNpmPackage rec {
4443 npm_config_build_from_source = "true" ;
4544 } ;
4645
47- # node-argon2 builds with LTO, but that causes missing symbols. So disable it
48- # and rebuild. See https://github.com/ranisalt/node-argon2/pull/415
49- preConfigure = ''
50- pushd node_modules/argon2
51- substituteInPlace binding.gyp --replace-fail '"-flto", ' ""
52- "$npm_config_node_gyp" rebuild
53- popd
54- '' ;
55-
5646 npmBuildScript = "build:oss:prod" ;
5747
5848 npmWorkspace = "apps/cli" ;
You can’t perform that action at this time.
0 commit comments