at 23.11-beta 27 lines 772 B view raw
1{ lib, buildGoModule, fetchFromGitHub, testers, leaps }: 2 3buildGoModule rec { 4 pname = "leaps"; 5 version = "0.9.1"; 6 7 src = fetchFromGitHub { 8 owner = "Jeffail"; 9 repo = "leaps"; 10 rev = "v${version}"; 11 sha256 = "sha256-9AYE8+K6B6/odwNR+UhTTqmJ1RD6HhKvtC3WibWUZic="; 12 }; 13 14 proxyVendor = true; # darwin/linux hash mismatch 15 vendorHash = "sha256-0dwUOoV2bxPB+B6CKxJPImPIDlBMPcm0AwEMrVUkALc="; 16 17 ldflags = [ "-s" "-w" "-X main.version=${version}" ]; 18 19 passthru.tests.version = testers.testVersion { package = leaps; }; 20 21 meta = with lib; { 22 description = "A pair programming tool and library written in Golang"; 23 homepage = "https://github.com/jeffail/leaps/"; 24 license = licenses.mit; 25 maintainers = with lib.maintainers; [ qknight ]; 26 }; 27}