nixpkgs/pkgs/tools/security/bitwarden-cli/default.nix

19 lines
574 B
Nix
Raw Normal View History

2019-01-13 13:49:41 +01: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}";
})