2023-05-24 13:37:59 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "stc";
|
2024-10-04 16:56:33 +00:00
|
|
|
version = "1.5.3";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "tenox7";
|
|
|
|
repo = pname;
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = version;
|
2024-10-04 16:56:33 +00:00
|
|
|
sha256 = "sha256-QdU480at8VvuHpYmEKagnBotjM7ikOsVLJeedJ2qtjw=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
vendorHash = "sha256-TnWCviLstm6kS34cNkrVGS9RZ21cVX/jmx8d+KytB0c=";
|
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
|
|
|
};
|
|
|
|
}
|