3
0
Fork 0
forked from mirrors/nixpkgs

elfcat: init at 0.1.3

This commit is contained in:
fortuneteller2k 2021-06-22 21:42:26 +08:00
parent 76d2fd44d0
commit dc24124ec6
3 changed files with 31 additions and 0 deletions

7
pkgs/tools/misc/elfcat/Cargo.lock generated Normal file
View file

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "elfcat"
version = "0.1.3"

View file

@ -0,0 +1,22 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "elfcat";
version = "0.1.3";
src = fetchFromGitHub {
owner = "ruslashev";
repo = pname;
rev = version;
sha256 = "sha256-s56FyRoD2IhgdwEV63jMaB265CodHUlvmrWzmXAmonY=";
};
cargoLock.lockFile = ./Cargo.lock;
meta = with lib; {
description = "ELF visualizer, generates HTML files from ELF binaries.";
homepage = "https://github.com/ruslashev/elfcat";
license = licenses.zlib;
maintainers = with maintainers; [ fortuneteller2k ];
};
}

View file

@ -204,6 +204,8 @@ in
buf = callPackage ../development/tools/buf { };
elfcat = callPackage ../tools/misc/elfcat { };
# Zip file format only allows times after year 1980, which makes e.g. Python wheel building fail with:
# ValueError: ZIP does not support timestamps before 1980
ensureNewerSourcesForZipFilesHook = ensureNewerSourcesHook { year = "1980"; };