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

26 lines
658 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 11:36:27 +01: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 11:36:27 +01:00
sha256 = "0d8wjyzmw89yhrszz487f7i19rcz7xlx4w2wd4c69k5nsdrs6dys";
2019-12-16 16:22:31 +00:00
};
2020-04-29 11:36:27 +01:00
modSha256 = "0888ikywclhjb4n7xqxc7hvzlhx1qhf4c3skaddqs3nrxm171jwn";
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;
};
}