lsyncd: 2.2.2 -> 2.2.3 (#44770)

authored by bobvanderlinden.tngl.sh and committed by xeji 7ccc0e32 25e4011d

+12 -4
+12 -4
pkgs/applications/networking/sync/lsyncd/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, lua, pkgconfig, rsync, 1 + { stdenv, fetchFromGitHub, fetchpatch, cmake, lua, pkgconfig, rsync, 2 2 asciidoc, libxml2, docbook_xml_dtd_45, docbook_xsl, libxslt }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "lsyncd-${version}"; 6 - version = "2.2.2"; 6 + version = "2.2.3"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "axkibe"; 10 10 repo = "lsyncd"; 11 11 rev = "release-${version}"; 12 - sha256 = "1q2ixp52r96ckghgmxdbms6xrq8dbziimp8gmgzqfq4lk1v1w80y"; 12 + sha256 = "1hbsih5hfq9lhgnxm0wb5mrj6xmlk2l0i9a79wzd5f6cnjil9l3x"; 13 13 }; 14 14 15 - patchPhase = '' 15 + patches = [ 16 + (fetchpatch { 17 + sha256 = "0b0h2qxh73l502p7phf6qgl8576nf6fvqqp2x5wy3nz7sc9qb1z8"; 18 + name = "fix-non-versioned-lua-not-search-in-cmake.patch"; 19 + url = "https://github.com/axkibe/lsyncd/pull/500/commits/0af99d8d5ba35118e8799684a2d4a8ea4b0c6957.patch"; 20 + }) 21 + ]; 22 + 23 + postPatch = '' 16 24 substituteInPlace default-rsync.lua \ 17 25 --replace "/usr/bin/rsync" "${rsync}/bin/rsync" 18 26 '';