mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
41 lines
852 B
Nix
41 lines
852 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
, nixosTests
|
|
, olm
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "mautrix-meta";
|
|
version = "0.3.2";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mautrix";
|
|
repo = "meta";
|
|
rev = "v${version}";
|
|
hash = "sha256-whBqhdB2FSFfrbtGtq8v3pjXW7QMt+I0baHTXVGPWVg=";
|
|
};
|
|
|
|
buildInputs = [ olm ];
|
|
|
|
vendorHash = "sha256-rP9wvF6yYW0TdQ+vQV6ZcVMxnCtqz8xRcd9v+4pYYio=";
|
|
|
|
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";
|
|
};
|
|
}
|