1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/pkgs/development/tools/misc/fswatch/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

34 lines
819 B
Nix

{ stdenv
, fetchFromGitHub
, autoreconfHook
# for xargs
, gettext
, libtool
, makeWrapper
, texinfo
, CoreServices
}:
stdenv.mkDerivation rec {
pname = "fswatch";
version = "1.14.0";
src = fetchFromGitHub {
owner = "emcrisostomo";
repo = "fswatch";
rev = version;
sha256 = "1d1fvm36qgh6a5j9v24wai61d297pvzxr14jngjlhh4i474ff21i";
};
nativeBuildInputs = [ autoreconfHook ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
buildInputs = [ gettext libtool makeWrapper texinfo ];
meta = with stdenv.lib; {
description = "A cross-platform file change monitor with multiple backends";
homepage = https://github.com/emcrisostomo/fswatch;
license = licenses.gpl3Plus;
platforms = platforms.all;
maintainers = with maintainers; [ pSub ];
};
}