From a240271309dfa374b8f5b9d0a795dbf8a5c19b25 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 17 Feb 2021 13:36:30 +0100 Subject: [PATCH 1/2] casync: 2-219-ga8f6c84 -> 2-226-gbd8898e Changes: - bd8898e Merge pull request #244 from timgates42/bugfix_typo_distinguish - a904fda docs: fix simple typo, distuingish -> distinguish - 4ad9bcb caprotocol: fix typo in protocol description - 6cfe2d4 Call stat again after changing ownership of created files, so we detect reset setuid/setgid bits and reset them. - d246d6d We erroneously use the st_dev value in place of the magic value if the st_dev value is cached. This causes problems extracting trees containing subvolumes. - f9718df Merge pull request #228 from johannbg/FEDORA31 - 1abde25 Update to Fedora31 --- pkgs/applications/networking/sync/casync/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/sync/casync/default.nix b/pkgs/applications/networking/sync/casync/default.nix index 0e82aa2dd85..911365b1a80 100644 --- a/pkgs/applications/networking/sync/casync/default.nix +++ b/pkgs/applications/networking/sync/casync/default.nix @@ -9,13 +9,13 @@ stdenv.mkDerivation { pname = "casync"; - version = "2-219-ga8f6c84"; + version = "2-226-gbd8898e"; src = fetchFromGitHub { - owner = "systemd"; - repo = "casync"; - rev = "a8f6c841ccfe59ca8c68aad64df170b64042dce8"; - sha256 = "1i3c9wmpabpmx2wfbcyabmwfa66vz92iq5dlbm89v5mvgavz7bws"; + owner = "systemd"; + repo = "casync"; + rev = "bd8898ed92685e12022dd33a04c87786b5262344"; + sha256 = "04ibglizjzyd7ih13q6m7ic78n0mzw9nfmb3zd1fcm9j62qlq11i"; }; buildInputs = [ acl curl xz zstd ] From 8b6562bd7b5e5ca9384f1a5037519a50bbfb4687 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 17 Feb 2021 13:37:24 +0100 Subject: [PATCH 2/2] casync: nixpkgs-fmt --- .../networking/sync/casync/default.nix | 37 +++++++++++++------ 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/networking/sync/casync/default.nix b/pkgs/applications/networking/sync/casync/default.nix index 911365b1a80..ddd14d61321 100644 --- a/pkgs/applications/networking/sync/casync/default.nix +++ b/pkgs/applications/networking/sync/casync/default.nix @@ -1,10 +1,23 @@ -{ lib, stdenv, fetchFromGitHub -, meson, ninja, pkg-config, python3, sphinx -, acl, curl, fuse, libselinux, udev, xz, zstd +{ lib +, stdenv +, fetchFromGitHub +, meson +, ninja +, pkg-config +, python3 +, sphinx +, acl +, curl +, fuse +, libselinux +, udev +, xz +, zstd , fuseSupport ? true , selinuxSupport ? true , udevSupport ? true -, glibcLocales, rsync +, glibcLocales +, rsync }: stdenv.mkDerivation { @@ -19,9 +32,9 @@ stdenv.mkDerivation { }; buildInputs = [ acl curl xz zstd ] - ++ lib.optionals (fuseSupport) [ fuse ] - ++ lib.optionals (selinuxSupport) [ libselinux ] - ++ lib.optionals (udevSupport) [ udev ]; + ++ lib.optionals (fuseSupport) [ fuse ] + ++ lib.optionals (selinuxSupport) [ libselinux ] + ++ lib.optionals (udevSupport) [ udev ]; nativeBuildInputs = [ meson ninja pkg-config python3 sphinx ]; checkInputs = [ glibcLocales rsync ]; @@ -34,8 +47,8 @@ stdenv.mkDerivation { PKG_CONFIG_UDEV_UDEVDIR = "lib/udev"; mesonFlags = lib.optionals (!fuseSupport) [ "-Dfuse=false" ] - ++ lib.optionals (!udevSupport) [ "-Dudev=false" ] - ++ lib.optionals (!selinuxSupport) [ "-Dselinux=false" ]; + ++ lib.optionals (!udevSupport) [ "-Dudev=false" ] + ++ lib.optionals (!selinuxSupport) [ "-Dselinux=false" ]; doCheck = true; preCheck = '' @@ -44,9 +57,9 @@ stdenv.mkDerivation { meta = with lib; { description = "Content-Addressable Data Synchronizer"; - homepage = "https://github.com/systemd/casync"; - license = licenses.lgpl21; - platforms = platforms.linux; + homepage = "https://github.com/systemd/casync"; + license = licenses.lgpl21; + platforms = platforms.linux; maintainers = with maintainers; [ flokli ]; }; }