8 pythonEnv = python3.withPackages (ps: [ ps.pyelftools ]);
11 # Note: Not using python3Packages.buildPythonApplication because of dependency propagation.
13 pname = "auto-patchelf";
14 version = "0-unstable-2024-08-14";
16 buildInputs = [ pythonEnv ];
23 substituteInPlace auto-patchelf.py --replace-fail "@defaultBintools@" "$NIX_BINTOOLS"
31 install -Dm755 auto-patchelf.py $out/bin/auto-patchelf
37 description = "Automatically patch ELF binaries using patchelf";
38 mainProgram = "auto-patchelf";
39 license = lib.licenses.mit;
40 platforms = lib.platforms.unix;
41 maintainers = with lib.maintainers; [ Scrumplex ];