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 20:01:12 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "gci";
2024-04-04 20:55:05 +00:00
version = "0.13.4";
2023-01-23 20:01:12 +00:00
src = fetchFromGitHub {
owner = "daixiang0";
repo = pname;
rev = "v${version}";
2024-04-04 20:55:05 +00:00
sha256 = "sha256-nJyRgvMVmNmmxigsdDcKzUuTQg5lXa8JnmwVyQwyWxA=";
2023-01-23 20:01:12 +00:00
};
2024-03-27 19:02:07 +00:00
vendorHash = "sha256-/8fggERlHySyimrGOHkDERbCPZJWqojycaifNPF6MjE=";
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];
};
}