about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/sync/openrsync/default.nix
blob: 291db3c39951cba390158493c1707384603f3103 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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";
    license = licenses.isc;
    maintainers = with maintainers; [ fgaz ];
    # https://github.com/kristapsdz/openrsync#portability
    # https://github.com/kristapsdz/oconfigure#readme
    platforms = platforms.unix;
  };
}