Merge pull request #127802 from fortuneteller2k/elfcat
elfcat: init at 0.1.3
This commit is contained in:
commit
b6c99a1986
7
pkgs/tools/misc/elfcat/Cargo.lock
generated
Normal file
7
pkgs/tools/misc/elfcat/Cargo.lock
generated
Normal 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"
|
22
pkgs/tools/misc/elfcat/default.nix
Normal file
22
pkgs/tools/misc/elfcat/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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"; };
|
||||
|
|
Loading…
Reference in a new issue