Merge pull request #5699 from pmahoney/fswatch

Fswatch
This commit is contained in:
lethalman 2015-01-13 14:12:43 +01:00
commit 19d6d436dc
3 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,10 @@
{ stdenv, fetchurl, gettext }:
stdenv.lib.overrideDerivation gettext (attrs: rec {
name = "gettext-0.19.4";
src = fetchurl {
url = "mirror://gnu/gettext/${name}.tar.gz";
sha256 = "0gvz86m4cs8bdf3mwmwsyx6lrq4ydfxgadrgd9jlx32z3bnz3jca";
};
})

View File

@ -0,0 +1,47 @@
{ stdenv
, fetchFromGitHub
, autoconf
, automake114x
, findutils # for xargs
, gettext_0_19
, libtool
, makeWrapper
, texinfo
}:
let
version = "1.4.5.3";
in stdenv.mkDerivation {
name = "fswatch-${version}";
src = fetchFromGitHub {
owner = "emcrisostomo";
repo = "fswatch";
rev = version;
sha256 = "05jphslvfgp94vd86myjw5q4wgbayj8avw49h4a4npkwhn93d11j";
};
buildInputs = [ autoconf automake114x gettext_0_19 libtool makeWrapper texinfo ];
preConfigure = ''
./autogen.sh
'';
postFixup = ''
for prog in fswatch-run fswatch-run-bash; do
wrapProgram $out/bin/$prog \
--prefix PATH "${findutils}/bin"
done
'';
meta = {
description = "A cross-platform file change monitor with multiple backends";
homepage = https://github.com/emcrisostomo/fswatch;
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.all;
};
}

View File

@ -4629,6 +4629,8 @@ let
flow = callPackage ../development/tools/analysis/flow { }; flow = callPackage ../development/tools/analysis/flow { };
fswatch = callPackage ../development/tools/misc/fswatch { };
pmd = callPackage ../development/tools/analysis/pmd { }; pmd = callPackage ../development/tools/analysis/pmd { };
jdepend = callPackage ../development/tools/analysis/jdepend { }; jdepend = callPackage ../development/tools/analysis/jdepend { };
@ -5334,6 +5336,7 @@ let
gettext_0_17 = callPackage ../development/libraries/gettext/0.17.nix { }; gettext_0_17 = callPackage ../development/libraries/gettext/0.17.nix { };
gettext_0_18 = callPackage ../development/libraries/gettext { }; gettext_0_18 = callPackage ../development/libraries/gettext { };
gettext_0_19 = callPackage ../development/libraries/gettext/0.19.nix { };
gd = callPackage ../development/libraries/gd { }; gd = callPackage ../development/libraries/gd { };