27 lines
681 B
Nix
27 lines
681 B
Nix
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
|
|
|
buildGoModule rec {
|
|
pname = "hydroxide";
|
|
version = "0.2.15";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "emersion";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0r91cq39n89hfy8sbdy5vjzqfrsfd7cdhd41gwszpayq65qhbsyp";
|
|
};
|
|
|
|
vendorSha256 = "1r5qg5cx48yw1l5nil28y4a82fc7g52jmy9pckaxygppmmn539pc";
|
|
|
|
doCheck = false;
|
|
|
|
subPackages = [ "cmd/hydroxide" ];
|
|
|
|
meta = with lib; {
|
|
description = "A third-party, open-source ProtonMail bridge";
|
|
homepage = "https://github.com/emersion/hydroxide";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ filalex77 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|