567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
38 lines
561 B
Nix
38 lines
561 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
keybase,
|
|
}:
|
|
|
|
buildGoModule {
|
|
pname = "kbfs";
|
|
|
|
inherit (keybase) src version vendorHash;
|
|
|
|
modRoot = "go";
|
|
subPackages = [
|
|
"kbfs/kbfsfuse"
|
|
"kbfs/redirector"
|
|
"kbfs/kbfsgit/git-remote-keybase"
|
|
];
|
|
|
|
tags = [ "production" ];
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://keybase.io/docs/kbfs";
|
|
description = "Keybase filesystem";
|
|
maintainers = with lib.maintainers; [
|
|
avaq
|
|
rvolosatovs
|
|
bennofs
|
|
np
|
|
shofius
|
|
];
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|