1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/tools/security/bitwarden-cli/default.nix

19 lines
574 B
Nix
Raw Normal View History

2019-01-13 12:49:41 +00:00
{ stdenv, pkgs }:
let
# node-packages*.nix generated via:
#
# % node2nix --input node-packages.json \
# --output node-packages-generated.nix \
# --composition node-packages.nix \
# --node-env ./../../../development/node-packages/node-env.nix
#
nodePackages = import ./node-packages.nix {
inherit pkgs;
inherit (stdenv.hostPlatform) system;
};
in pkgs.lib.overrideDerivation nodePackages."@bitwarden/cli" (drv: {
# This defaults to "node-_at_bitwarden_slash_cli-1.7.0"
name = "bitwarden-cli-${drv.version}";
})