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

28 lines
679 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
2019-12-16 16:22:31 +00:00
buildGoModule rec {
pname = "hydroxide";
2021-07-23 09:35:35 +00:00
version = "0.2.19";
2019-12-16 16:22:31 +00:00
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
2021-07-23 09:35:35 +00:00
sha256 = "sha256-FKZdsFEUlXk0w11v7Y6sKiu4bOjmau2yAifcTpN0J+U=";
2019-12-16 16:22:31 +00:00
};
2021-04-28 16:50:03 +00:00
vendorSha256 = "sha256-jkiTpDsJN628YKkFZcng9P05hmNUc3UeFsanLf+QtJY=";
2019-12-16 16:22:31 +00:00
doCheck = false;
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; [ Br1ght0ne ];
2019-12-16 16:22:31 +00:00
platforms = platforms.unix;
};
}