3
0
Fork 0
forked from mirrors/nixpkgs

elfinfo: use buildGoModule

This commit is contained in:
Azat Bahawi 2022-06-12 02:55:48 +03:00
parent 30d1a2f29e
commit f6281356b4
No known key found for this signature in database
GPG key ID: C8C6BDDB3847F72B

View file

@ -1,20 +1,25 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoPackage rec {
buildGoModule rec {
pname = "elfinfo";
version = "1.1.0";
goPackagePath = "github.com/xyproto/elfinfo";
src = fetchFromGitHub {
rev = version;
owner = "xyproto";
repo = "elfinfo";
rev = version;
sha256 = "1n8bg0rcq9fqa6rdnk6x9ngvm59hcayblkpjv9j5myn2vmm6fv8m";
};
vendorSha256 = null;
meta = with lib; {
description = "Small utility for showing information about ELF files";
homepage = "https://elfinfo.roboticoverlords.org/";
changelog = "https://github.com/xyproto/elfinfo/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ dtzWill ];
};