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

24 lines
633 B
Nix
Raw Normal View History

2019-09-16 15:04:07 +01:00
{ stdenv, buildGoModule, fetchFromGitHub }:
2018-11-14 18:22:09 +00:00
2019-09-16 15:04:07 +01:00
buildGoModule rec {
pname = "elfinfo";
2019-09-16 15:04:07 +01:00
version = "0.7.6";
2018-11-14 18:22:09 +00:00
goPackagePath = "github.com/xyproto/elfinfo";
src = fetchFromGitHub {
rev = version;
owner = "xyproto";
repo = "elfinfo";
2019-09-16 15:04:07 +01:00
sha256 = "0f6ik4d157assxdfslnyc91mg70kfh396rapikfv473znx2v2pg9";
2018-11-14 18:22:09 +00:00
};
2019-09-16 15:04:07 +01:00
modSha256 = "1xr0pylaqcb4f4g862120cgqdxp0bpwsk77zd6g7kk91lqdcvsdf";
2018-11-14 18:22:09 +00:00
meta = with stdenv.lib; {
description = "Small utility for showing information about ELF files";
homepage = https://elfinfo.roboticoverlords.org/;
license = licenses.mit;
maintainers = with maintainers; [ dtzWill ];
};
}