Merge pull request #4214 from manveru/keybase
keybase-node-client: 0.7.0
This commit is contained in:
commit
81680a17a8
37
pkgs/applications/misc/keybase-node-client/default.nix
Normal file
37
pkgs/applications/misc/keybase-node-client/default.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchurl, makeWrapper, callPackage, gnupg, utillinux }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
let
|
||||
nodePackages = callPackage (import <nixpkgs/pkgs/top-level/node-packages.nix>) {
|
||||
neededNatives = [] ++ optional (stdenv.isLinux) utillinux;
|
||||
self = nodePackages;
|
||||
generated = ./package.nix;
|
||||
};
|
||||
|
||||
in nodePackages.buildNodePackage rec {
|
||||
name = "keybase-node-client-${version}";
|
||||
version = "0.7.0";
|
||||
|
||||
src = [(fetchurl {
|
||||
url = "https://github.com/keybase/node-client/archive/v${version}.tar.gz";
|
||||
sha256 = "0n73v4f61rq2dvy2yd3s4l8qvvjzp3ncqj70llm4i6cvbp9kym1v";
|
||||
})];
|
||||
|
||||
deps = (filter (v: nixType v == "derivation") (attrValues nodePackages));
|
||||
buildInputs = [ makeWrapper gnupg ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/keybase" --set NODE_PATH "$out/lib/node_modules/keybase/node_modules/"
|
||||
'';
|
||||
|
||||
passthru.names = ["keybase"];
|
||||
|
||||
meta = {
|
||||
description = "CLI for keybase.io written in/for Node.js";
|
||||
license = licenses.mit;
|
||||
homepage = https://keybase.io/docs/command_line;
|
||||
maintainers = with maintainers; [manveru];
|
||||
platforms = with platforms; linux;
|
||||
};
|
||||
}
|
2518
pkgs/applications/misc/keybase-node-client/package.nix
Normal file
2518
pkgs/applications/misc/keybase-node-client/package.nix
Normal file
File diff suppressed because it is too large
Load Diff
@ -1536,6 +1536,8 @@ let
|
||||
|
||||
kexectools = callPackage ../os-specific/linux/kexectools { };
|
||||
|
||||
keybase-node-client = callPackage ../applications/misc/keybase-node-client { };
|
||||
|
||||
keychain = callPackage ../tools/misc/keychain { };
|
||||
|
||||
kibana = callPackage ../development/tools/misc/kibana { };
|
||||
|
Loading…
Reference in New Issue
Block a user