forked from mirrors/nixpkgs
bitwarden-cli: move to nodePackages version
This commit is contained in:
parent
96d4f80d70
commit
f3b68a724e
|
@ -31,6 +31,10 @@ nodePackages // {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitwarden-cli = pkgs.lib.overrideDerivation nodePackages."@bitwarden/cli" (drv: {
|
||||||
|
name = "bitwarden-cli-${drv.version}";
|
||||||
|
});
|
||||||
|
|
||||||
ios-deploy = nodePackages.ios-deploy.override (drv: {
|
ios-deploy = nodePackages.ios-deploy.override (drv: {
|
||||||
nativeBuildInputs = drv.nativeBuildInputs or [] ++ [ pkgs.buildPackages.rsync ];
|
nativeBuildInputs = drv.nativeBuildInputs or [] ++ [ pkgs.buildPackages.rsync ];
|
||||||
preRebuild = ''
|
preRebuild = ''
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
{ 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}";
|
|
||||||
})
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/usr/bin/env nix-shell
|
|
||||||
#! nix-shell -i bash -p nodePackages.node2nix
|
|
||||||
|
|
||||||
exec node2nix -8 \
|
|
||||||
--input node-packages.json \
|
|
||||||
--output node-packages-generated.nix \
|
|
||||||
--composition node-packages.nix \
|
|
||||||
--node-env ./../../../development/node-packages/node-env.nix
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,3 +0,0 @@
|
||||||
[
|
|
||||||
"@bitwarden/cli"
|
|
||||||
]
|
|
17
pkgs/tools/security/bitwarden-cli/node-packages.nix
generated
17
pkgs/tools/security/bitwarden-cli/node-packages.nix
generated
|
@ -1,17 +0,0 @@
|
||||||
# This file has been generated by node2nix 1.7.0. Do not edit!
|
|
||||||
|
|
||||||
{pkgs ? import <nixpkgs> {
|
|
||||||
inherit system;
|
|
||||||
}, system ? builtins.currentSystem, nodejs ? pkgs.nodejs-10_x}:
|
|
||||||
|
|
||||||
let
|
|
||||||
nodeEnv = import ../../../development/node-packages/node-env.nix {
|
|
||||||
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
|
|
||||||
inherit nodejs;
|
|
||||||
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
import ./node-packages-generated.nix {
|
|
||||||
inherit (pkgs) fetchurl fetchgit;
|
|
||||||
inherit nodeEnv;
|
|
||||||
}
|
|
|
@ -771,7 +771,7 @@ in
|
||||||
|
|
||||||
bitwarden = callPackage ../tools/security/bitwarden { };
|
bitwarden = callPackage ../tools/security/bitwarden { };
|
||||||
|
|
||||||
bitwarden-cli = callPackage ../tools/security/bitwarden-cli { };
|
inherit (nodePackages) bitwarden-cli;
|
||||||
|
|
||||||
bitwarden_rs = callPackage ../tools/security/bitwarden_rs {
|
bitwarden_rs = callPackage ../tools/security/bitwarden_rs {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security CoreServices;
|
inherit (darwin.apple_sdk.frameworks) Security CoreServices;
|
||||||
|
|
Loading…
Reference in a new issue