teos-watchtower-plugin: migrate to by-name

This commit is contained in:
Grayson Tinker
2026-06-09 07:39:48 -07:00
parent ca029e4856
commit c36f839152
3 changed files with 35 additions and 29 deletions
@@ -47,32 +47,4 @@ in
description = "Lightning watchtower compliant with BOLT13, written in Rust";
};
};
teos-watchtower-plugin = rustPlatform.buildRustPackage {
pname = "teos-watchtower-plugin";
inherit version src;
cargoHash = "sha256-lod5I94T4wGwXEDtvh2AyaDYM0byCfaSBP8emKV7+3M=";
buildAndTestSubdir = "watchtower-plugin";
nativeBuildInputs = [
pkg-config
protobuf
rustfmt
];
buildInputs = [
openssl
];
passthru.updateScript = updateScript;
__darwinAllowLocalNetworking = true;
meta = meta // {
description = "Lightning watchtower plugin for clightning";
mainProgram = "watchtower-client";
};
};
}
@@ -0,0 +1,35 @@
{
lib,
rustPlatform,
teos,
pkg-config,
protobuf,
rustfmt,
openssl,
}:
rustPlatform.buildRustPackage {
pname = "teos-watchtower-plugin";
inherit (teos) version src;
cargoHash = "sha256-lod5I94T4wGwXEDtvh2AyaDYM0byCfaSBP8emKV7+3M=";
buildAndTestSubdir = "watchtower-plugin";
nativeBuildInputs = [
pkg-config
protobuf
rustfmt
];
buildInputs = [
openssl
];
__darwinAllowLocalNetworking = true;
meta = teos.meta // {
description = "Lightning watchtower plugin for clightning";
mainProgram = "watchtower-client";
};
}
-1
View File
@@ -10236,7 +10236,6 @@ with pkgs;
inherit (callPackages ../applications/blockchains/teos { })
teos
teos-watchtower-plugin
;
vertcoind = vertcoin.override {