20 lines
364 B
Nix
20 lines
364 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildGoModule
|
|
|
|
, go
|
|
, goModules
|
|
, libsecret
|
|
, pkg-config
|
|
, qtbase
|
|
}:
|
|
let
|
|
builder = import ./common.nix {
|
|
inherit lib fetchFromGitHub buildGoModule libsecret pkg-config;
|
|
};
|
|
in
|
|
{
|
|
protonmail-bridge = builder (import ./app.nix { inherit qtbase go goModules; });
|
|
protonmail-bridge-headless = builder (import ./headless.nix { });
|
|
}
|