Add arrtrix Matrix bridge service and package scaffolding
Some checks failed
Test action / kaas (push) Failing after 1s
Some checks failed
Test action / kaas (push) Failing after 1s
This commit is contained in:
parent
c4e9485ccb
commit
ce44496a48
13 changed files with 712 additions and 256 deletions
33
packages/arrtrix/default.nix
Normal file
33
packages/arrtrix/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
buildGoModule,
|
||||
lib,
|
||||
olm,
|
||||
versionCheckHook,
|
||||
}:
|
||||
buildGoModule rec {
|
||||
pname = "arrtrix";
|
||||
version = "0.1.0";
|
||||
tag = "v0.1.0";
|
||||
|
||||
src = lib.cleanSource ./.;
|
||||
|
||||
vendorHash = "sha256-FbatoXcxZcnqVUmoj/jeSMFO/iTmD8uga47MoTdGcRw=";
|
||||
subPackages = ["cmd/arrtrix"];
|
||||
|
||||
buildInputs = [olm];
|
||||
|
||||
ldflags = [
|
||||
"-X main.Tag=${tag}"
|
||||
];
|
||||
|
||||
doInstallCheck = true;
|
||||
nativeInstallCheckInputs = [versionCheckHook];
|
||||
|
||||
meta = {
|
||||
description = "*arr-stack Matrix bridge";
|
||||
homepage = "https://github.com/chris-kruining/sneeuwvlok";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [];
|
||||
mainProgram = "arrtrix";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue