nixpkgs/pkgs/by-name/ma/mautrix-meta/package.nix
Kevin Cox 5f569a8c23
mautrix-meta: 0.2.0 → 0.3.0
This contains many improvements, some notable changes:

- A handful of backfill improvements.
- Memory usage improvements for video download.
- Support for more event types.

See full list: https://github.com/mautrix/meta/compare/v0.2.0...v0.3.0
2024-04-16 09:21:58 -04:00

43 lines
861 B
Nix

{ buildGoModule
, config
, fetchFromGitHub
, lib
, nixosTests
, olm
}:
buildGoModule rec {
pname = "mautrix-meta";
version = "0.3.0";
subPackages = [ "." ];
src = fetchFromGitHub {
owner = "mautrix";
repo = "meta";
rev = "v${version}";
hash = "sha256-QyVcy9rqj1n1Nn/+gBufd57LyEaXPyu0KQhAUTgNmBA=";
};
buildInputs = [ olm ];
vendorHash = "sha256-oQSjP1WY0LuxrMtIrvyKhize91wXJxTzWeH0Y3MsEL4=";
passthru = {
tests = {
inherit (nixosTests)
mautrix-meta-postgres
mautrix-meta-sqlite
;
};
};
meta = {
homepage = "https://github.com/mautrix/meta";
description = "Matrix <-> Facebook and Mautrix <-> Instagram hybrid puppeting/relaybot bridge";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ rutherther ];
mainProgram = "mautrix-meta";
};
}