about summary refs log tree commit diff
path: root/pkgs/applications/networking/sync
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2022-12-16 14:01:02 +0100
committerFrancesco Gazzetta <fgaz@fgaz.me>2022-12-29 10:31:10 +0100
commitc86691332715d861353e5a5cd651b0a8f0a6a0d7 (patch)
tree65f76447cb34a3a74c94c68231cab187c6413809 /pkgs/applications/networking/sync
parent4ad0f129aede6b7d471fbefce6647d6bc7ce78f8 (diff)
openrsync: init at unstable-2022-05-08
Diffstat (limited to 'pkgs/applications/networking/sync')
-rw-r--r--pkgs/applications/networking/sync/openrsync/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/networking/sync/openrsync/default.nix b/pkgs/applications/networking/sync/openrsync/default.nix
new file mode 100644
index 0000000000000..0398ccd960945
--- /dev/null
+++ b/pkgs/applications/networking/sync/openrsync/default.nix
@@ -0,0 +1,29 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+}:
+
+stdenv.mkDerivation rec {
+  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;
+  };
+}