nixpkgs-suyu/pkgs/applications/networking/hydroxide/default.nix

28 lines
681 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
2019-12-16 17:22:31 +01:00
buildGoModule rec {
pname = "hydroxide";
2020-07-03 19:13:11 +02:00
version = "0.2.15";
2019-12-16 17:22:31 +01:00
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
2020-07-03 19:13:11 +02:00
sha256 = "0r91cq39n89hfy8sbdy5vjzqfrsfd7cdhd41gwszpayq65qhbsyp";
2019-12-16 17:22:31 +01:00
};
2020-07-03 19:13:11 +02:00
vendorSha256 = "1r5qg5cx48yw1l5nil28y4a82fc7g52jmy9pckaxygppmmn539pc";
2019-12-16 17:22:31 +01:00
doCheck = false;
2019-12-16 17:22:31 +01:00
subPackages = [ "cmd/hydroxide" ];
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;
};
}