mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
fswatch: new derivation
This commit is contained in:
parent
70e7b34470
commit
41ca36e30c
47
pkgs/development/tools/misc/fswatch/default.nix
Normal file
47
pkgs/development/tools/misc/fswatch/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -4615,6 +4615,8 @@ let
|
||||
|
||||
flow = callPackage ../development/tools/analysis/flow { };
|
||||
|
||||
fswatch = callPackage ../development/tools/misc/fswatch { };
|
||||
|
||||
pmd = callPackage ../development/tools/analysis/pmd { };
|
||||
|
||||
jdepend = callPackage ../development/tools/analysis/jdepend { };
|
||||
|
Loading…
Reference in New Issue
Block a user