mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
26 lines
594 B
Nix
26 lines
594 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "gci";
|
|
version = "0.10.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "daixiang0";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-/YR61lovuYw+GEeXIgvyPbesz2epmQVmSLWjWwKT4Ag=";
|
|
};
|
|
|
|
vendorHash = "sha256-g7htGfU6C2rzfu8hAn6SGr0ZRwB8ZzSf9CgHYmdupE8=";
|
|
|
|
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];
|
|
};
|
|
}
|