fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ stdenv, fetchurl, makeWrapper, callPackage, gnupg, utillinux }:
2
3with stdenv.lib;
4
5let
6 nodePackages = callPackage (import ../../../top-level/node-packages.nix) {
7 neededNatives = [] ++ optional (stdenv.isLinux) utillinux;
8 self = nodePackages;
9 generated = ./package.nix;
10 };
11
12in nodePackages.buildNodePackage rec {
13 name = "keybase-${version}";
14 version = "0.7.8";
15
16 src = [(fetchurl {
17 url = "https://github.com/keybase/node-client/archive/v${version}.tar.gz";
18 sha256 = "1ak27bd7jwyss85i7plnfr5al33ykfifqknncyx1ir2r2ldagzc7";
19 })];
20
21 deps = (filter (v: nixType v == "derivation") (attrValues nodePackages));
22 buildInputs = [ makeWrapper gnupg ];
23
24 postInstall = ''
25 wrapProgram "$out/bin/keybase" --set NODE_PATH "$out/lib/node_modules/keybase/node_modules/"
26 '';
27
28 passthru.names = ["keybase"];
29
30 meta = {
31 description = "CLI for keybase.io written in/for Node.js";
32 license = licenses.mit;
33 homepage = https://keybase.io/docs/command_line;
34 maintainers = with maintainers; [manveru];
35 platforms = with platforms; linux;
36 };
37}