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

22 lines
381 B
Nix
Raw Normal View History

2020-10-15 19:05:13 +11:00
{ stdenv
, 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
, qtdoc
}:
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
}