2023-05-24 13:37:59 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "stc";
|
|
|
|
version = "1.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tenox7";
|
|
|
|
repo = pname;
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = version;
|
2023-05-24 13:37:59 +00:00
|
|
|
sha256 = "sha256-g1zn/CBpLv0oNhp32njeNhhli8aTCECgh92+zn5v+4U=";
|
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-0OsxCGCJT5k5bHXNSIL6QiJXj72bzYCZiI03gvHQuR8=";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Syncthing CLI Tool";
|
|
|
|
homepage = "https://github.com/tenox7/stc";
|
|
|
|
changelog = "https://github.com/tenox7/stc/releases/tag/${version}";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ivankovnatsky ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "stc";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
}
|