Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 33 lines 805 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 nix-update-script, 6}: 7 8buildGoModule rec { 9 pname = "gickup"; 10 version = "0.10.39"; 11 12 src = fetchFromGitHub { 13 owner = "cooperspencer"; 14 repo = "gickup"; 15 tag = "v${version}"; 16 hash = "sha256-Aalt/oiNzV2a8Ix/ruL4r3q0W1EY1UTe9IVPWNL+lLA="; 17 }; 18 19 vendorHash = "sha256-Xtreh7nHovBYh0PnFYn2VuYGN8GQSmy6EPnZnHSdt/o="; 20 21 ldflags = [ "-X main.version=${version}" ]; 22 23 passthru.updateScript = nix-update-script { }; 24 25 meta = { 26 description = "Tool to backup repositories"; 27 homepage = "https://github.com/cooperspencer/gickup"; 28 changelog = "https://github.com/cooperspencer/gickup/releases/tag/v${version}"; 29 maintainers = with lib.maintainers; [ adamcstephens ]; 30 mainProgram = "gickup"; 31 license = lib.licenses.asl20; 32 }; 33}