2018-11-03 07:30:19 +03:00
|
|
|
{ buildGoPackage
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "maligned-unstable";
|
2018-11-03 07:30:19 +03:00
|
|
|
version = "2018-07-07";
|
|
|
|
rev = "6e39bd26a8c8b58c5a22129593044655a9e25959";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/mdempsky/maligned";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
|
|
|
|
owner = "mdempsky";
|
|
|
|
repo = "maligned";
|
|
|
|
sha256 = "08inr5xjqv9flrlyhqd8ck1q26y5xb6iilz0xkb6bqa4dl5ialhi";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-10-11 08:55:05 +03:00
|
|
|
description = "Tool to detect Go structs that would take less memory if their fields were sorted";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/mdempsky/maligned";
|
2018-11-03 07:30:19 +03:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ kalbasit ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|