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

25 lines
660 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
2019-12-16 16:22:31 +00:00
buildGoModule rec {
pname = "hydroxide";
2020-04-29 10:36:27 +00: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 10:36:27 +00:00
sha256 = "0d8wjyzmw89yhrszz487f7i19rcz7xlx4w2wd4c69k5nsdrs6dys";
2019-12-16 16:22:31 +00:00
};
vendorSha256 = "0d8yfmsl8rycbq8gjnvc657j14644lq0zmr9l88ik360szw6v6gc";
2019-12-16 16:22:31 +00:00
subPackages = [ "cmd/hydroxide" ];
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;
};
}