14 src = fetchFromGitHub {
17 rev = "refs/tags/v${version}";
18 hash = "sha256-90MA62Zm9ouaf+CnYsbOm/njrUui21vW/VrwKYfsCZs=";
21 vendorHash = "sha256-/rpT6SatIZ+GVzmVg6b8Zy32pGybprObotyvEgvdL2w=";
23 web = stdenvNoCC.mkDerivation (finalAttrs: {
24 pname = "${pname}-web";
26 sourceRoot = "${finalAttrs.src.name}/web";
28 pnpmDeps = pnpm_9.fetchDeps {
29 inherit (finalAttrs) pname version src sourceRoot;
30 hash = "sha256-25Bg8sTeH/w25KdfwgZNoqBXz2d5c1QD5vGb33xpTCA=";
38 env.ESBUILD_BINARY_PATH = lib.getExe (esbuild.override {
39 buildGoModule = args: buildGoModule (args // rec {
41 src = fetchFromGitHub {
45 hash = "sha256-PLC7OJLSOiDq4OjvrdfCawZPfbfuZix4Waopzrj8qsU=";
47 vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
70 "-X main.version=v${version}"
73 postInstall = lib.optionalString (!stdenvNoCC.hostPlatform.isDarwin) ''
74 mv $out/bin/SyncYomi $out/bin/syncyomi
78 description = "Open-source project to synchronize Tachiyomi manga reading progress and library across multiple devices";
79 homepage = "https://github.com/SyncYomi/SyncYomi";
80 changelog = "https://github.com/SyncYomi/SyncYomi/releases/tag/v${version}";
81 license = lib.licenses.gpl2Only;
82 maintainers = with lib.maintainers; [ eriedaberrie ];
83 mainProgram = "syncyomi";
84 platforms = lib.platforms.linux ++ lib.platforms.darwin;