nur-packages/pkgs/applications/networking/protonmail-bridge/default.nix

20 lines
364 B
Nix
Raw Normal View History

2022-10-26 10:51:44 +11:00
{ lib
2020-10-15 19:05:13 +11:00
, fetchFromGitHub
, buildGoModule
, go
, goModules
2020-10-15 19:05:13 +11:00
, libsecret
, pkg-config
, qtbase
}:
let
builder = import ./common.nix {
inherit lib fetchFromGitHub buildGoModule libsecret pkg-config;
};
2020-10-15 19:05:13 +11:00
in
{
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
}