2023-01-23 20:01:12 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gci";
|
2023-12-27 06:17:31 +00:00
|
|
|
version = "0.12.1";
|
2023-01-23 20:01:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "daixiang0";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-12-27 06:17:31 +00:00
|
|
|
sha256 = "sha256-h8vqpqohKQzd2IltHroo/AKnhufJsCC6qpSo8NYyhPI=";
|
2023-01-23 20:01:12 +00:00
|
|
|
};
|
|
|
|
|
2023-10-05 00:29:23 +00:00
|
|
|
vendorHash = "sha256-bPRcOvwbWEpcJUlIqQNeoYME4ky0YE5LlyWhSTWCIHQ=";
|
2023-01-23 20:01:12 +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];
|
|
|
|
};
|
|
|
|
}
|