nixpkgs/pkgs/development/tools/gci/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
594 B
Nix
Raw Normal View History

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