686ce24904
GitOrigin-RevId: ac1f5b72a9e95873d1de0233fddcb56f99884b37
25 lines
593 B
Nix
25 lines
593 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "gci";
|
|
version = "0.9.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "daixiang0";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-VbN4lRK+6stOApMEdtX32JhKGkCSrafMJbizpWmHRXA=";
|
|
};
|
|
|
|
vendorHash = "sha256-dlt+i/pEP3RzW4JwndKTU7my2Nn7/2rLFlk8n1sFR60=";
|
|
|
|
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];
|
|
};
|
|
}
|