biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / maligned / default.nix
blobae38fdc91e3dd723ae8c2a46695e6c61b6f8b45a
1 { lib
2 , buildGoModule
3 , fetchFromGitHub
4 , go
5 }:
7 buildGoModule rec {
8   pname = "maligned";
9   version = "unstable-2022-02-04";
10   rev = "d7cd9a96ae47d02b08234503b54709ad4ae82105";
12   src = fetchFromGitHub {
13     owner = "mdempsky";
14     repo = "maligned";
15     inherit rev;
16     sha256 = "sha256-exljmDNtVhjJkvh0EomcbBXSsmQx4I59MHDfMWSQyKk=";
17   };
19   vendorHash = "sha256-q/0lxZWk3a7brMsbLvZUSZ8XUHfWfx79qxjir1Vygx4=";
21   allowGoReference = true;
23   nativeCheckInputs = [ go ];
25   meta = with lib; {
26     description = "Tool to detect Go structs that would take less memory if their fields were sorted";
27     mainProgram = "maligned";
28     homepage = "https://github.com/mdempsky/maligned";
29     license = licenses.bsd3;
30     maintainers = with maintainers; [ kalbasit ];
31   };