Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6buildGoModule rec {
7 pname = "gci";
8 version = "0.13.4";
9
10 src = fetchFromGitHub {
11 owner = "daixiang0";
12 repo = pname;
13 rev = "v${version}";
14 sha256 = "sha256-nJyRgvMVmNmmxigsdDcKzUuTQg5lXa8JnmwVyQwyWxA=";
15 };
16
17 vendorHash = "sha256-/8fggERlHySyimrGOHkDERbCPZJWqojycaifNPF6MjE=";
18
19 meta = with lib; {
20 description = "Controls golang package import order and makes it always deterministic";
21 homepage = "https://github.com/daixiang0/gci";
22 license = licenses.bsd3;
23 maintainers = with maintainers; [krostar];
24 };
25}