mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
26 lines
594 B
Nix
26 lines
594 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "gci";
|
|
version = "0.12.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "daixiang0";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-h8vqpqohKQzd2IltHroo/AKnhufJsCC6qpSo8NYyhPI=";
|
|
};
|
|
|
|
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];
|
|
};
|
|
}
|