1 { lib, buildGoModule, fetchFromGitHub, testers, leaps }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-9AYE8+K6B6/odwNR+UhTTqmJ1RD6HhKvtC3WibWUZic=";
14 proxyVendor = true; # darwin/linux hash mismatch
15 vendorHash = "sha256-0dwUOoV2bxPB+B6CKxJPImPIDlBMPcm0AwEMrVUkALc=";
17 ldflags = [ "-s" "-w" "-X main.version=${version}" ];
19 passthru.tests.version = testers.testVersion { package = leaps; };
22 description = "A pair programming tool and library written in Golang";
23 mainProgram = "leaps";
24 homepage = "https://github.com/jeffail/leaps/";
25 license = licenses.mit;
26 maintainers = with lib.maintainers; [ qknight ];