mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
parsync: inti at 0.2.0 (#499261)
This commit is contained in:
commit
95b99aa2be
1 changed files with 44 additions and 0 deletions
44
pkgs/by-name/pa/parsync/package.nix
Normal file
44
pkgs/by-name/pa/parsync/package.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue