2020-10-15 19:05:13 +11:00
|
|
|
{ stdenv
|
2021-02-01 08:45:20 +11:00
|
|
|
, lib
|
2020-10-15 19:05:13 +11:00
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
|
|
|
|
|
|
|
, go
|
2020-10-15 21:49:24 +11:00
|
|
|
, goModules
|
2020-10-15 19:05:13 +11:00
|
|
|
, libsecret
|
|
|
|
, pkg-config
|
|
|
|
, qtbase
|
|
|
|
, qtdoc
|
|
|
|
}:
|
|
|
|
let
|
2021-02-01 08:49:40 +11:00
|
|
|
builder = import ./common.nix {
|
|
|
|
inherit lib fetchFromGitHub buildGoModule libsecret pkg-config;
|
|
|
|
};
|
2020-10-15 19:05:13 +11:00
|
|
|
in
|
|
|
|
{
|
2020-10-15 21:49:24 +11:00
|
|
|
protonmail-bridge = builder (import ./app.nix { inherit qtbase go goModules; });
|
|
|
|
protonmail-bridge-headless = builder (import ./headless.nix { });
|
2020-10-15 19:05:13 +11:00
|
|
|
}
|