2023-02-02 18:25:31 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gci";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "0.11.2";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "daixiang0";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-1JYmnMXm2ywGZAVhcfzvF1I1h0pBvijbeVmqKzgiz8U=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-bPRcOvwbWEpcJUlIqQNeoYME4ky0YE5LlyWhSTWCIHQ=";
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Controls golang package import order and makes it always deterministic";
|
|
|
|
homepage = "https://github.com/daixiang0/gci";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [krostar];
|
|
|
|
};
|
|
|
|
}
|