1
0

Add lots of tools

This commit is contained in:
dump_stack() 2021-10-07 13:54:30 +00:00
parent 68e7face0e
commit f8426e6e17
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -52,6 +52,7 @@ in {
texlive.combined.scheme-full rubber pandoc texlive.combined.scheme-full rubber pandoc
jq socat ffmpeg-full exiftool apktool mdl wine zstd jq socat ffmpeg-full exiftool apktool mdl wine zstd
tesseract dislocker ffmpeg-normalize mkvtoolnix-cli tesseract dislocker ffmpeg-normalize mkvtoolnix-cli
binutils conda zopfli libimobiledevice ifuse graphviz
# development # development
sbcl go sbcl go
@ -60,7 +61,6 @@ in {
gnupg yubikey-manager yubikey-personalization gnupg yubikey-manager yubikey-personalization
# virtualization # virtualization
nixops
kvm kvm
virtmanager virtmanager
virtviewer virtviewer
@ -75,7 +75,9 @@ in {
binwalk binwalk
])) ]))
(emacsWithPackages(epkgs: uefi-firmware-parser
(unstable.emacsWithPackages(epkgs:
# MELPA (Milkypostmans Emacs Lisp Package Archive) # MELPA (Milkypostmans Emacs Lisp Package Archive)
(with epkgs.melpaPackages; [ (with epkgs.melpaPackages; [
# Programming languages modes # Programming languages modes
@ -88,9 +90,10 @@ in {
nix-mode markdown-mode dockerfile-mode yaml-mode ssh-config-mode nix-mode markdown-mode dockerfile-mode yaml-mode ssh-config-mode
toml-mode pcap-mode toml-mode pcap-mode
# Version control # Version control
magit git-gutter magit git-gutter git-timemachine
# Generic # Generic
smex w3m org-kanban org-brain smex w3m org-kanban org-brain org-roam use-package
selectrum selectrum-prescient
# Appearance # Appearance
zenburn-theme solarized-theme wc-mode zenburn-theme solarized-theme wc-mode
# NixOS # NixOS
@ -121,18 +124,50 @@ in {
xorg.xcursorthemes capitaine-cursors gnome3.cheese xorg.xcursorthemes capitaine-cursors gnome3.cheese
# x apps # x apps
escrotum evince gimp gnome3.gnome-maps escrotum evince gimp gnome3.gnome-maps inkscape
android-file-transfer libreoffice electrum gnome3.nautilus android-file-transfer libreoffice electrum gnome3.nautilus
signal-desktop signal-cli rdesktop signal-desktop signal-cli rdesktop wire-desktop
ghidra ghidra
(writeShellScriptBin "git-get" "${git}/bin/git clone https://$1 $GOPATH/src/$1") (writeShellScriptBin "git-get" ''
REPO=$(echo $1 | sed 's;http.*://;;')
${git}/bin/git clone https://$REPO $GOPATH/src/$REPO
'')
(writeShellScriptBin "chromium" '' (writeShellScriptBin "chromium" ''
${chromium}/bin/chromium --force-dark-mode \ ${chromium}/bin/chromium --force-dark-mode \
--start-maximized \ --start-maximized \
$@ $@
'') '')
(stdenv.mkDerivation {
pname = "imjtool";
version = "1.0.0";
dontConfigure = true;
dontBuild = true;
dontStrip = true;
src = fetchurl {
url = "http://newandroidbook.com/tools/imjtool.tgz";
sha256 = "sha256:027zlxsssfffhrlgfamcjn4whcarm8gh687xswz3mbmyra0rgspd";
};
setSourceRoot = "sourceRoot=`pwd`";
nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [
zlib lzma bzip2
];
propagatedBuildInputs = [
lz4
];
installPhase = ''
mkdir -p $out/bin
cp imjtool.ELF64 $out/bin/imjtool
'';
})
]; ];
} }