3
0
Fork 0
forked from mirrors/nixpkgs

bitwarden-cli: move to nodePackages version

This commit is contained in:
Jörg Thalheim 2019-12-25 07:17:32 +00:00
parent 96d4f80d70
commit f3b68a724e
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4
7 changed files with 5 additions and 1454 deletions

View file

@ -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 = ''

View file

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

View file

@ -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

View file

@ -1,3 +0,0 @@
[
"@bitwarden/cli"
]

View file

@ -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;
}

View file

@ -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;