forked from mirrors/nixpkgs
Merge pull request #17383 from jokogr/new/syncthing-inotify
syncthing-inotify: init at 0.8.3
This commit is contained in:
commit
255227780e
38
pkgs/applications/networking/syncthing/inotify-deps.json
Normal file
38
pkgs/applications/networking/syncthing/inotify-deps.json
Normal file
|
@ -0,0 +1,38 @@
|
|||
[
|
||||
{
|
||||
"goPackagePath": "github.com/cenkalti/backoff",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cenkalti/backoff",
|
||||
"rev": "cdf48bbc1eb78d1349cbda326a4a037f7ba565c6",
|
||||
"sha256": "0dg7hvpv0a1db8qriygz1jqgp16v8k505b197x9902z7z6lldgbh"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/gobwas/glob",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/gobwas/glob",
|
||||
"rev": "ce6abff51712df5da11095fb41dd4b0353559797",
|
||||
"sha256": "1gxv4nnn3f9hw1ncdmhsr8fbfdma2h713ima7b4k28gxydfa8i9m"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/syncthing/syncthing",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/syncthing/syncthing",
|
||||
"rev": "66a506e72b9dcc749d09a03cb120ba86bbf3d7f8",
|
||||
"sha256": "0is4f1r3im2bbmbca9fafzxffikxaf86vd6f851831fk5wi4pzw9"
|
||||
}
|
||||
},
|
||||
{
|
||||
"goPackagePath": "github.com/zillode/notify",
|
||||
"fetch": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zillode/notify",
|
||||
"rev": "2da5cc9881e8f16bab76b63129c7781898f97d16",
|
||||
"sha256": "0qwsj730p5mivp2xw9zr5vq8xr7rr9cxjmi564wgmsn7dcvqnr40"
|
||||
}
|
||||
}
|
||||
]
|
26
pkgs/applications/networking/syncthing/inotify.nix
Normal file
26
pkgs/applications/networking/syncthing/inotify.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ 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";
|
||||
};
|
||||
|
||||
goDeps = ./inotify-deps.json;
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
}
|
|
@ -14737,6 +14737,8 @@ in
|
|||
|
||||
syncthing013 = callPackage ../applications/networking/syncthing013 { };
|
||||
|
||||
syncthing-inotify = callPackage ../applications/networking/syncthing/inotify.nix { };
|
||||
|
||||
# linux only by now
|
||||
synergy = callPackage ../applications/misc/synergy { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue