Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 28 lines 629 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "stc"; 9 version = "1.5.4"; 10 11 src = fetchFromGitHub { 12 owner = "tenox7"; 13 repo = "stc"; 14 rev = version; 15 sha256 = "sha256-ftlq7vrnTb4N2bqwiF9gtRj7hZlo6PTUMb/bk2hn/cU="; 16 }; 17 18 vendorHash = "sha256-qLpWXikTr+vB2bIw2EqnoJ0uOxUc/qc6SdGEJQXwmTQ="; 19 20 meta = { 21 description = "Syncthing CLI Tool"; 22 homepage = "https://github.com/tenox7/stc"; 23 changelog = "https://github.com/tenox7/stc/releases/tag/${version}"; 24 license = lib.licenses.asl20; 25 maintainers = [ lib.maintainers.ivankovnatsky ]; 26 mainProgram = "stc"; 27 }; 28}