depot/pkgs/applications/networking/sync/openrsync/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 lines
746 B
Nix

{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation {
pname = "openrsync";
version = "unstable-2022-05-08";
src = fetchFromGitHub {
owner = "kristapsdz";
repo = "openrsync";
rev = "f50d0f8204ea18306a0c29c6ae850292ea826995";
hash = "sha256-4tygoCQGIM0wqLfdWp55/oOPhD3lPUuTd9/LXQAASXU=";
};
# Uses oconfigure
prefixKey = "PREFIX=";
meta = with lib; {
homepage = "https://www.openrsync.org/";
description = "BSD-licensed implementation of rsync";
mainProgram = "openrsync";
license = licenses.isc;
maintainers = with maintainers; [ fgaz ];
# https://github.com/kristapsdz/openrsync#portability
# https://github.com/kristapsdz/oconfigure#readme
platforms = platforms.unix;
};
}