depot/third_party/nixpkgs/pkgs/development/tools/misc/elfinfo/default.nix

28 lines
611 B
Nix
Raw Normal View History

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "elfinfo";
version = "1.2.2";
src = fetchFromGitHub {
owner = "xyproto";
repo = "elfinfo";
rev = version;
sha256 = "sha256-HnjHOjanStqmDXnc6Z9w0beCMJFf/ndWbYxoDEaOws4=";
};
vendorHash = null;
meta = with lib; {
description = "Small utility for showing information about ELF files";
mainProgram = "elfinfo";
homepage = "https://elfinfo.roboticoverlords.org/";
changelog = "https://github.com/xyproto/elfinfo/releases/tag/${version}";
license = licenses.bsd3;
maintainers = [ ];
};
}