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