2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
2019-12-16 16:22:31 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "hydroxide";
|
2021-12-07 04:24:48 +00:00
|
|
|
version = "0.2.21";
|
2019-12-16 16:22:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-07 04:24:48 +00:00
|
|
|
sha256 = "sha256-fF+pQnqAWBktc4NdQFTHeB/sEg5bPTxXtdL1x5JuXU8=";
|
2019-12-16 16:22:31 +00:00
|
|
|
};
|
|
|
|
|
2021-12-07 04:24:48 +00:00
|
|
|
vendorSha256 = "sha256-M5QlhF2Cj1jn5NNiKj1Roh9+sNCWxQEb4vbtsDfapWY=";
|
2019-12-16 16:22:31 +00:00
|
|
|
|
2020-08-04 01:26:27 +01: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 = "A 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 ];
|
2019-12-16 16:22:31 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|