nixpkgs/pkgs/applications/networking/stc-cli/default.nix
Fabián Heredia Montiel ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00

24 lines
597 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "stc";
version = "1.4";
src = fetchFromGitHub {
owner = "tenox7";
repo = pname;
rev = version;
sha256 = "sha256-g1zn/CBpLv0oNhp32njeNhhli8aTCECgh92+zn5v+4U=";
};
vendorHash = "sha256-0OsxCGCJT5k5bHXNSIL6QiJXj72bzYCZiI03gvHQuR8=";
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 ];
};
}