Ethan Carter Edwards 04fb07600c
ethersync: add ngi team
NLnet project. We should be informed when something changes ;).

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-07-28 17:58:12 -04:00

43 lines
1.1 KiB
Nix

{
fetchFromGitHub,
lib,
rustPlatform,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ethersync";
version = "0.7.0";
src = fetchFromGitHub {
owner = "ethersync";
repo = "ethersync";
tag = "v${finalAttrs.version}";
hash = "sha256-Swh8C8FMjPdIFpHOsNb3W9W7JAZGzPXHXTwwnr1gFok=";
};
sourceRoot = "${finalAttrs.src.name}/daemon";
cargoHash = "sha256-ZgbxaEtsaBQLl9PJbo1O2wA3OxEfPKRl3KkFvR4c97Q=";
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Real-time co-editing of local text files";
homepage = "https://ethersync.github.io/ethersync/";
downloadPage = "https://github.com/ethersync/ethersync";
changelog = "https://github.com/ethersync/ethersync/blob/${finalAttrs.src.tag}/CHANGELOG.md";
license = lib.licenses.agpl3Plus;
teams = [ lib.teams.ngi ];
maintainers = with lib.maintainers; [
prince213
ethancedwards8
];
};
})