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

28 lines
679 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
2019-12-16 19:22:31 +03:00
buildGoModule rec {
pname = "hydroxide";
2022-09-05 19:13:56 +03:00
version = "0.2.24";
2019-12-16 19:22:31 +03:00
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
2022-09-05 19:13:56 +03:00
sha256 = "sha256-Bstrg/TtGpC4zeJEYgycwdzBMfMbQX0S6okdtUiVMIQ=";
2019-12-16 19:22:31 +03:00
};
2022-09-05 19:13:56 +03:00
vendorSha256 = "sha256-OLsJc/AMtD03KA8SN5rsnaq57/cB7bMB/f7FfEjErEU=";
2019-12-16 19:22:31 +03:00
doCheck = false;
2019-12-16 19:22:31 +03:00
subPackages = [ "cmd/hydroxide" ];
meta = with lib; {
2019-12-16 19:22:31 +03: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 19:22:31 +03:00
platforms = platforms.unix;
};
}