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

28 lines
679 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
2019-12-16 17:22:31 +01:00
buildGoModule rec {
pname = "hydroxide";
2021-01-21 19:03:49 +01:00
version = "0.2.17";
2019-12-16 17:22:31 +01:00
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
2021-01-21 19:03:49 +01:00
sha256 = "sha256-gNMLVh5ntVCxiIKLshRvYXi5dYLZ8qiZFwZxbNPVFTk=";
2019-12-16 17:22:31 +01:00
};
2021-01-21 19:03:49 +01:00
vendorSha256 = "sha256-f/1Vxuc87eQie/j1b14q/1lAAzRk+ZDkBaTmHtCy7go=";
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; [ Br1ght0ne ];
2019-12-16 17:22:31 +01:00
platforms = platforms.unix;
};
}