2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchurl, gamin }:
|
2010-10-28 13:10:09 +02:00
|
|
|
|
2010-11-04 15:26:19 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2010-10-28 13:10:09 +02:00
|
|
|
name = "fileschanged-0.6.9";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2010-11-04 15:26:19 +01:00
|
|
|
url = "mirror://savannah/fileschanged/${name}.tar.gz";
|
2010-10-28 13:10:09 +02:00
|
|
|
sha256 = "0ajc9h023vzpnlqqjli4wbvs0q36nr5p9msc3wzbic8rk687qcxc";
|
|
|
|
};
|
|
|
|
|
2018-07-17 22:11:16 +02:00
|
|
|
buildInputs = [ gamin ];
|
2010-10-28 13:10:09 +02:00
|
|
|
|
2012-04-12 23:28:45 +02:00
|
|
|
patches = [./unused-variables.debian.patch];
|
|
|
|
|
2010-10-28 13:10:09 +02:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.nongnu.org/fileschanged/";
|
2010-11-04 15:26:19 +01:00
|
|
|
description = "A command-line utility that reports when files have been altered";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl3Plus;
|
2010-10-28 13:10:09 +02: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.
|
|
|
|
'';
|
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
platforms = lib.platforms.linux;
|
2010-10-28 13:10:09 +02:00
|
|
|
};
|
|
|
|
}
|