15 src = fetchFromGitHub {
16 owner = "talaia-labs";
19 hash = "sha256-UrzH9xmhVq12TcSUQ1AihCG1sNGcy/N8LDsZINVKFkY=";
23 homepage = "https://github.com/talaia-labs/rust-teos";
24 license = licenses.mit;
25 maintainers = with maintainers; [ seberm ];
27 updateScript = ./update.sh;
30 teos = rustPlatform.buildRustPackage {
34 cargoHash = "sha256-U0imKEPszlBOaS6xEd3kfzy/w2SYe3EY/E1e0L+ViDk=";
36 buildAndTestSubdir = "teos";
43 buildInputs = lib.optionals stdenv.isDarwin [
44 darwin.apple_sdk.frameworks.Security
47 passthru.updateScript = updateScript;
49 __darwinAllowLocalNetworking = true;
52 description = "A Lightning watchtower compliant with BOLT13, written in Rust";
56 teos-watchtower-plugin = rustPlatform.buildRustPackage {
57 pname = "teos-watchtower-plugin";
60 cargoHash = "sha256-3ke1qTFw/4I5dPLuPjIGp1n2C/eRfPB7A6ErMFfwUzE=";
62 buildAndTestSubdir = "watchtower-plugin";
72 ] ++ lib.optionals stdenv.isDarwin [
73 darwin.apple_sdk.frameworks.SystemConfiguration
76 passthru.updateScript = updateScript;
78 __darwinAllowLocalNetworking = true;
81 description = "A Lightning watchtower plugin for clightning";
82 mainProgram = "watchtower-client";