2022-09-29 11:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, testers, leaps }:
|
2016-08-20 14:01:56 +00:00
|
|
|
|
2022-09-29 11:12:51 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "leaps";
|
2022-09-29 11:12:51 +00:00
|
|
|
version = "0.9.1";
|
2016-08-20 14:01:56 +00:00
|
|
|
|
2016-11-06 09:33:21 +00:00
|
|
|
src = fetchFromGitHub {
|
2018-02-22 22:27:44 +00:00
|
|
|
owner = "Jeffail";
|
2016-11-06 09:33:21 +00:00
|
|
|
repo = "leaps";
|
|
|
|
rev = "v${version}";
|
2022-09-29 11:12:51 +00:00
|
|
|
sha256 = "sha256-9AYE8+K6B6/odwNR+UhTTqmJ1RD6HhKvtC3WibWUZic=";
|
2016-08-20 14:01:56 +00:00
|
|
|
};
|
|
|
|
|
2022-09-29 11:12:51 +00:00
|
|
|
proxyVendor = true; # darwin/linux hash mismatch
|
2023-09-13 04:44:46 +00:00
|
|
|
vendorHash = "sha256-0dwUOoV2bxPB+B6CKxJPImPIDlBMPcm0AwEMrVUkALc=";
|
2022-09-29 11:12:51 +00:00
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
|
|
|
|
|
|
|
passthru.tests.version = testers.testVersion { package = leaps; };
|
2020-07-31 04:07:43 +00:00
|
|
|
|
2022-09-29 11:12:51 +00:00
|
|
|
meta = with lib; {
|
2016-08-20 14:01:56 +00:00
|
|
|
description = "A pair programming tool and library written in Golang";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/jeffail/leaps/";
|
2022-09-29 11:12:51 +00:00
|
|
|
license = licenses.mit;
|
2021-01-23 12:26:19 +00:00
|
|
|
maintainers = with lib.maintainers; [ qknight ];
|
2016-08-20 14:01:56 +00:00
|
|
|
};
|
|
|
|
}
|