python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / maligned / default.nix
blobf39b83489f9906e02483d94d85eb862dd02f7e85
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   vendorSha256 = "sha256-q/0lxZWk3a7brMsbLvZUSZ8XUHfWfx79qxjir1Vygx4=";
21   allowGoReference = true;
23   checkInputs = [ go ];
25   meta = with lib; {
26     description = "Tool to detect Go structs that would take less memory if their fields were sorted";
27     homepage = "https://github.com/mdempsky/maligned";
28     license = licenses.bsd3;
29     maintainers = with maintainers; [ kalbasit ];
30   };