1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/security/bitwarden-cli/default.nix
2019-01-13 21:49:41 +09:00

19 lines
574 B
Nix

{ 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}";
})