2024-05-21 01:03:37 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-12-16 16:22:31 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "hydroxide";
|
2024-07-02 23:47:10 +00:00
|
|
|
version = "0.2.29";
|
2019-12-16 16:22:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-07-02 23:47:10 +00:00
|
|
|
sha256 = "sha256-VAbMcON75dTS+1lUqmveN2WruQCCmK3kB86e+vKM64U=";
|
2019-12-16 16:22:31 +00:00
|
|
|
};
|
|
|
|
|
2024-07-02 23:47:10 +00:00
|
|
|
vendorHash = "sha256-JaYJq8lnZHK75Rwif77A9y9jTUoJFyoSZQgaExnY+rM=";
|
2019-12-16 16:22:31 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-12-16 16:22:31 +00:00
|
|
|
subPackages = [ "cmd/hydroxide" ];
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-12-16 16:22:31 +00:00
|
|
|
description = "Third-party, open-source ProtonMail bridge";
|
|
|
|
homepage = "https://github.com/emersion/hydroxide";
|
|
|
|
license = licenses.mit;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ Br1ght0ne ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "hydroxide";
|
2019-12-16 16:22:31 +00:00
|
|
|
};
|
2020-07-31 03:58:04 +00:00
|
|
|
}
|