2016-07-27 15:27:14 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "syncthing-inotify-${version}";
|
|
|
|
version = "0.8.3";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/syncthing/syncthing-inotify";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "syncthing";
|
|
|
|
repo = "syncthing-inotify";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "194pbz9zzxaz0vri93czpbsxl85znlba2gy61mjgyr0dm2h4s6yw";
|
|
|
|
};
|
|
|
|
|
2016-09-10 11:04:13 +01:00
|
|
|
goDeps = ./inotify-deps.nix;
|
2016-07-27 15:27:14 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = https://github.com/syncthing/syncthing-inotify;
|
|
|
|
description = "File watcher intended for use with Syncthing";
|
|
|
|
license = stdenv.lib.licenses.mpl20;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ joko ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux ++ freebsd ++ openbsd ++ netbsd;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|