Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / leaps / default.nix
bloba0f99496a43844cbc1546e73dc21788ad4f04107
1 { lib, buildGoModule, fetchFromGitHub, testers, leaps }:
3 buildGoModule rec {
4   pname = "leaps";
5   version = "0.9.1";
7   src = fetchFromGitHub {
8     owner = "Jeffail";
9     repo = "leaps";
10     rev = "v${version}";
11     sha256 = "sha256-9AYE8+K6B6/odwNR+UhTTqmJ1RD6HhKvtC3WibWUZic=";
12   };
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; };
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   };