parsync: inti at 0.2.0 (#499261)

This commit is contained in:
Fabian Affolter 2026-03-13 13:54:23 +00:00 committed by GitHub
commit 95b99aa2be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,44 @@
{
lib,
fetchFromGitHub,
openssl,
pkg-config,
rustPlatform,
sqlite,
zlib,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "parsync";
version = "0.2.0";
src = fetchFromGitHub {
owner = "AlpinDale";
repo = "parsync";
tag = "v${finalAttrs.version}";
hash = "sha256-XeHHfSrutKTL1JFxJrqo9K0lD2ZYuIxcxnusH6Q373M=";
};
cargoHash = "sha256-SHieyv7Kc9Qtx3C11wxjJTI28h2RDh+YY1Ks++Z1rQ8=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
sqlite
zlib
];
env = {
OPENSSL_NO_VENDOR = true;
};
meta = {
description = "Tool to parallel rsync-like pull sync over SSH";
homepage = "https://github.com/AlpinDale/parsync";
changelog = "https://github.com/AlpinDale/parsync/releases/tag/${finalAttrs.src.rev}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "parsync";
};
})