depot/third_party/nixpkgs/pkgs/development/tools/gci/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

25 lines
594 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gci";
version = "0.11.2";
src = fetchFromGitHub {
owner = "daixiang0";
repo = pname;
rev = "v${version}";
sha256 = "sha256-1JYmnMXm2ywGZAVhcfzvF1I1h0pBvijbeVmqKzgiz8U=";
};
vendorHash = "sha256-bPRcOvwbWEpcJUlIqQNeoYME4ky0YE5LlyWhSTWCIHQ=";
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];
};
}