2022-06-11 23:55:48 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2018-11-14 18:22:09 +00:00
|
|
|
|
2022-06-11 23:55:48 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "elfinfo";
|
2023-04-20 20:49:47 +00:00
|
|
|
version = "1.2.2";
|
2018-11-14 18:22:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xyproto";
|
|
|
|
repo = "elfinfo";
|
2022-06-11 23:55:48 +00:00
|
|
|
rev = version;
|
2023-04-20 20:49:47 +00:00
|
|
|
sha256 = "sha256-HnjHOjanStqmDXnc6Z9w0beCMJFf/ndWbYxoDEaOws4=";
|
2018-11-14 18:22:09 +00:00
|
|
|
};
|
|
|
|
|
2023-04-20 20:49:47 +00:00
|
|
|
vendorHash = null;
|
2022-06-11 23:55:48 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2018-11-14 18:22:09 +00:00
|
|
|
description = "Small utility for showing information about ELF files";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "elfinfo";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://elfinfo.roboticoverlords.org/";
|
2022-06-11 23:55:48 +00:00
|
|
|
changelog = "https://github.com/xyproto/elfinfo/releases/tag/${version}";
|
2022-08-24 08:08:00 +00:00
|
|
|
license = licenses.bsd3;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2018-11-14 18:22:09 +00:00
|
|
|
};
|
|
|
|
}
|