lsyncd: 2.2.2 -> 2.2.3 (#44770)
This commit is contained in:
parent
25e4011d75
commit
7ccc0e32dc
|
@ -1,18 +1,26 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake, lua, pkgconfig, rsync,
|
{ stdenv, fetchFromGitHub, fetchpatch, cmake, lua, pkgconfig, rsync,
|
||||||
asciidoc, libxml2, docbook_xml_dtd_45, docbook_xsl, libxslt }:
|
asciidoc, libxml2, docbook_xml_dtd_45, docbook_xsl, libxslt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lsyncd-${version}";
|
name = "lsyncd-${version}";
|
||||||
version = "2.2.2";
|
version = "2.2.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "axkibe";
|
owner = "axkibe";
|
||||||
repo = "lsyncd";
|
repo = "lsyncd";
|
||||||
rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
sha256 = "1q2ixp52r96ckghgmxdbms6xrq8dbziimp8gmgzqfq4lk1v1w80y";
|
sha256 = "1hbsih5hfq9lhgnxm0wb5mrj6xmlk2l0i9a79wzd5f6cnjil9l3x";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
sha256 = "0b0h2qxh73l502p7phf6qgl8576nf6fvqqp2x5wy3nz7sc9qb1z8";
|
||||||
|
name = "fix-non-versioned-lua-not-search-in-cmake.patch";
|
||||||
|
url = "https://github.com/axkibe/lsyncd/pull/500/commits/0af99d8d5ba35118e8799684a2d4a8ea4b0c6957.patch";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
substituteInPlace default-rsync.lua \
|
substituteInPlace default-rsync.lua \
|
||||||
--replace "/usr/bin/rsync" "${rsync}/bin/rsync"
|
--replace "/usr/bin/rsync" "${rsync}/bin/rsync"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue