28 lines
679 B
Nix
28 lines
679 B
Nix
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
|
|
|
|
buildGoModule rec {
|
|
pname = "hydroxide";
|
|
version = "0.2.20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "emersion";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-VTUpiuSsI795XDSxJJvLQlVNPLiekHyKcCazRBky9nU=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-AuZnHpJ1Xel/L9dG3ATdXnoTeUxtieah/ea+0svw3oA=";
|
|
|
|
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; [ Br1ght0ne ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|