2022-06-26 10:26:21 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "elfinfo";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "1.2.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xyproto";
|
|
|
|
repo = "elfinfo";
|
2022-06-26 10:26:21 +00:00
|
|
|
rev = version;
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-HnjHOjanStqmDXnc6Z9w0beCMJFf/ndWbYxoDEaOws4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
vendorHash = null;
|
2022-06-26 10:26:21 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Small utility for showing information about ELF files";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "elfinfo";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://elfinfo.roboticoverlords.org/";
|
2022-06-26 10:26:21 +00:00
|
|
|
changelog = "https://github.com/xyproto/elfinfo/releases/tag/${version}";
|
2022-09-09 14:08:57 +00:00
|
|
|
license = licenses.bsd3;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|