2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
2019-12-16 16:22:31 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "hydroxide";
|
2020-04-29 11:36:27 +01:00
|
|
|
version = "0.2.14";
|
2019-12-16 16:22:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "emersion";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-04-29 11:36:27 +01:00
|
|
|
sha256 = "0d8wjyzmw89yhrszz487f7i19rcz7xlx4w2wd4c69k5nsdrs6dys";
|
2019-12-16 16:22:31 +00:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "0d8yfmsl8rycbq8gjnvc657j14644lq0zmr9l88ik360szw6v6gc";
|
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;
|
|
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|