This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/matrix/mautrix-whatsapp/default.nix

17 lines
423 B
Nix

{
pkgs,
inputs,
...
} @ args: let
inherit ((pkgs.callPackage "${inputs.gomod2nix}/builder" {})) buildGoApplication;
in {
mautrix-whatsapp = buildGoApplication rec {
pname = "mautrix-whatsapp";
version = inputs.mautrix-whatsapp.lastModifiedDate;
src = pkgs.callPackage ./source.nix {};
proxyVendor = true;
modules = ./gomod2nix.toml;
CGO_ENABLED = "1";
buildInputs = [pkgs.olm];
};
}