From 142a4e46cb59b491c9106f5afe7451c75496f7d7 Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 1 Jun 2026 03:10:25 +0400 Subject: [PATCH] claude-sync (#17) Reviewed-on: https://git.scug.io/nikkuss/pkgs/pulls/17 Co-authored-by: Nikkuss Co-committed-by: Nikkuss --- _sources/generated.json | 21 +++++++++++++++++++ _sources/generated.nix | 11 ++++++++++ nvfetcher.toml | 4 ++++ pkgs/by-name/cl/claude-sync/package.nix | 28 +++++++++++++++++++++++++ 4 files changed, 64 insertions(+) create mode 100644 pkgs/by-name/cl/claude-sync/package.nix diff --git a/_sources/generated.json b/_sources/generated.json index 1915e03..6a12b65 100644 --- a/_sources/generated.json +++ b/_sources/generated.json @@ -60,6 +60,27 @@ }, "version": "v0.35.0" }, + "claude-sync": { + "cargoLock": null, + "date": null, + "extract": null, + "name": "claude-sync", + "passthru": null, + "pinned": false, + "src": { + "deepClone": false, + "fetchSubmodules": false, + "leaveDotGit": false, + "name": null, + "owner": "tawanorg", + "repo": "claude-sync", + "rev": "v1.9.0", + "sha256": "sha256-5waB01wmSsFUkBB/PmT9yY5b1J/aapZJCnm5O21q+Q4=", + "sparseCheckout": [], + "type": "github" + }, + "version": "v1.9.0" + }, "flightcore": { "cargoLock": null, "date": null, diff --git a/_sources/generated.nix b/_sources/generated.nix index 7127b2b..4c34c7d 100644 --- a/_sources/generated.nix +++ b/_sources/generated.nix @@ -45,6 +45,17 @@ sha256 = "sha256-xb6D4J+EmbK5XCrZCyv1LWYdfmaNDcw7Hk4nHg76uAo="; }; }; + claude-sync = { + pname = "claude-sync"; + version = "v1.9.0"; + src = fetchFromGitHub { + owner = "tawanorg"; + repo = "claude-sync"; + rev = "v1.9.0"; + fetchSubmodules = false; + sha256 = "sha256-5waB01wmSsFUkBB/PmT9yY5b1J/aapZJCnm5O21q+Q4="; + }; + }; flightcore = { pname = "flightcore"; version = "v3.2.0"; diff --git a/nvfetcher.toml b/nvfetcher.toml index 1e9961b..b2c28c6 100644 --- a/nvfetcher.toml +++ b/nvfetcher.toml @@ -2,6 +2,10 @@ src.github = "zed-industries/claude-code-acp" fetch.github = "zed-industries/claude-code-acp" +[claude-sync] +src.github = "tawanorg/claude-sync" +fetch.github = "tawanorg/claude-sync" + [flightcore] src.github = "R2NorthstarTools/FlightCore" fetch.github = "R2NorthstarTools/FlightCore" diff --git a/pkgs/by-name/cl/claude-sync/package.nix b/pkgs/by-name/cl/claude-sync/package.nix new file mode 100644 index 0000000..72c1e5f --- /dev/null +++ b/pkgs/by-name/cl/claude-sync/package.nix @@ -0,0 +1,28 @@ +{ + lib, + buildGoModule, + callPackage, +}: +let + sources = callPackage ../../../../_sources/generated.nix { }; +in +buildGoModule (finalAttrs: { + pname = "claude-sync"; + version = lib.removePrefix "v" sources.claude-sync.version; + inherit (sources.claude-sync) src; + + vendorHash = "sha256-cHWP5m191QP4XxeOtgHaLsyavXWikUwViDivBMGP34M="; + + subPackages = [ "cmd/claude-sync" ]; + + ldflags = [ + "-s" + "-w" + "-X main.version=${finalAttrs.version}" + ]; + + meta = { + mainProgram = "claude-sync"; + platforms = lib.platforms.unix; + }; +})