mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 10:53:52 +00:00
lsyncd: 2.1.5 -> 2.1.6
This commit is contained in:
parent
ae33ec595e
commit
760ec896ae
@ -1,32 +1,27 @@
|
||||
{ stdenv, fetchFromGitHub, automake, autoconf, lua, pkgconfig, rsync,
|
||||
{ stdenv, fetchFromGitHub, cmake, lua, pkgconfig, rsync,
|
||||
asciidoc, libxml2, docbook_xml_dtd_45, docbook_xml_xslt, libxslt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lsyncd-${version}";
|
||||
version = "2.1.5";
|
||||
version = "2.1.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "axkibe";
|
||||
repo = "lsyncd";
|
||||
rev = "release-${version}";
|
||||
sha256 = "0jvr2rv34jyjrv7188vdv1z8vgvm4wydqwsp9x5ksfzh9drbq5gn";
|
||||
sha256 = "1cab96h4qfyapk7lb682j1d8k0hpv7h9pl41vdgc0vr4bq4c3ij2";
|
||||
};
|
||||
|
||||
patches = [ ./configure-a2x-fix.patch ];
|
||||
|
||||
preConfigurePhase = ''
|
||||
patchPhase = ''
|
||||
substituteInPlace default-rsync.lua \
|
||||
--replace "binary = '/usr/bin/rsync'," "binary = '${rsync}/bin/rsync',"
|
||||
--replace "/usr/bin/rsync" "${rsync}/bin/rsync"
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
./autogen.sh --prefix=$out
|
||||
./configure --prefix=$out
|
||||
'';
|
||||
dontUseCmakeBuildDir = true;
|
||||
|
||||
buildInputs = [
|
||||
rsync
|
||||
automake autoconf lua pkgconfig
|
||||
cmake lua pkgconfig
|
||||
asciidoc libxml2 docbook_xml_dtd_45 docbook_xml_xslt libxslt
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user