2018-07-17 21:11:16 +01:00
|
|
|
{ stdenv, fetchurl, gamin }:
|
2010-10-28 12:10:09 +01:00
|
|
|
|
2010-11-04 14:26:19 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-10-28 12:10:09 +01:00
|
|
|
name = "fileschanged-0.6.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2010-11-04 14:26:19 +00:00
|
|
|
url = "mirror://savannah/fileschanged/${name}.tar.gz";
|
2010-10-28 12:10:09 +01:00
|
|
|
sha256 = "0ajc9h023vzpnlqqjli4wbvs0q36nr5p9msc3wzbic8rk687qcxc";
|
|
|
|
};
|
|
|
|
|
2018-07-17 21:11:16 +01:00
|
|
|
buildInputs = [ gamin ];
|
2010-10-28 12:10:09 +01:00
|
|
|
|
2012-04-12 22:28:45 +01:00
|
|
|
patches = [./unused-variables.debian.patch];
|
|
|
|
|
2010-10-28 12:10:09 +01:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2018-12-01 17:32:32 +00:00
|
|
|
homepage = https://www.nongnu.org/fileschanged/;
|
2010-11-04 14:26:19 +00:00
|
|
|
description = "A command-line utility that reports when files have been altered";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2010-10-28 12:10:09 +01:00
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
This utility is a client to FAM (File Alteration Monitor) servers
|
|
|
|
like FAM or Gamin. You give it some filenames on the command line
|
|
|
|
and then it monitors those files for changes. When it discovers
|
|
|
|
that a file has been altered, it displays the filename on the
|
|
|
|
standard-output or executes a given command.
|
|
|
|
'';
|
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|