teos-watchtower-plugin: migrate to by-name
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
@@ -10236,7 +10236,6 @@ with pkgs;
|
||||
|
||||
inherit (callPackages ../applications/blockchains/teos { })
|
||||
teos
|
||||
teos-watchtower-plugin
|
||||
;
|
||||
|
||||
vertcoind = vertcoin.override {
|
||||
|
||||
Reference in New Issue
Block a user