Merge pull request #127802 from fortuneteller2k/elfcat

elfcat: init at 0.1.3

authored by Sandro and committed by GitHub b6c99a19 b2a93084

+31
+7
pkgs/tools/misc/elfcat/Cargo.lock
···
··· 1 + # This file is automatically @generated by Cargo. 2 + # It is not intended for manual editing. 3 + version = 3 4 + 5 + [[package]] 6 + name = "elfcat" 7 + version = "0.1.3"
+22
pkgs/tools/misc/elfcat/default.nix
···
··· 1 + { lib, rustPlatform, fetchFromGitHub }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "elfcat"; 5 + version = "0.1.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "ruslashev"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "sha256-s56FyRoD2IhgdwEV63jMaB265CodHUlvmrWzmXAmonY="; 12 + }; 13 + 14 + cargoLock.lockFile = ./Cargo.lock; 15 + 16 + meta = with lib; { 17 + description = "ELF visualizer, generates HTML files from ELF binaries."; 18 + homepage = "https://github.com/ruslashev/elfcat"; 19 + license = licenses.zlib; 20 + maintainers = with maintainers; [ fortuneteller2k ]; 21 + }; 22 + }
+2
pkgs/top-level/all-packages.nix
··· 204 205 buf = callPackage ../development/tools/buf { }; 206 207 # Zip file format only allows times after year 1980, which makes e.g. Python wheel building fail with: 208 # ValueError: ZIP does not support timestamps before 1980 209 ensureNewerSourcesForZipFilesHook = ensureNewerSourcesHook { year = "1980"; };
··· 204 205 buf = callPackage ../development/tools/buf { }; 206 207 + elfcat = callPackage ../tools/misc/elfcat { }; 208 + 209 # Zip file format only allows times after year 1980, which makes e.g. Python wheel building fail with: 210 # ValueError: ZIP does not support timestamps before 1980 211 ensureNewerSourcesForZipFilesHook = ensureNewerSourcesHook { year = "1980"; };