It looks like `with Path:` is supposed to be a context-manager
for changing directory but it doesn't seem to work and the only
way I've found to make that work is if we made our own and annotated it.
Instead just use nix search path to tell the expression where
to find the file it looks for.
Also re-use SCRIPT_DIR elsewhere instead of re-"computing" it.
While I'm not sure whether it's suitable for my tasks it might be useful
for others doing reverse engineering, so I decided to package it.
The software seems to have stalled development since a while but became
active again recently, so hopefully some of the issues with packaging
will be fixed and they might want to move away from their handwritten
configure script.
I've tested the package on both i686-linux and x86_64-linux, however the
automated test suite seems to be broken upstream at the moment so I
didn't set doCheck to true, but once this is fixed, we can enable them
in a future update.
Signed-off-by: aszlig <aszlig@nix.build>
Lack of 32bit support led to the creation
of an overlay to add it back again,
but since it at least builds and seems to work
don't see why we'd disallow it here :).
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/pmd/versions.
These checks were done:
- built on NixOS
- Warning: no invocation of /nix/store/5h7bbvnfl6iqzpj4pqzv96x6xz349gch-pmd-6.5.0/bin/bgastviewer.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/5h7bbvnfl6iqzpj4pqzv96x6xz349gch-pmd-6.5.0/bin/cpdgui.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/5h7bbvnfl6iqzpj4pqzv96x6xz349gch-pmd-6.5.0/bin/designer.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/5h7bbvnfl6iqzpj4pqzv96x6xz349gch-pmd-6.5.0/bin/pmd.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/5h7bbvnfl6iqzpj4pqzv96x6xz349gch-pmd-6.5.0/bin/cpd.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/5h7bbvnfl6iqzpj4pqzv96x6xz349gch-pmd-6.5.0/bin/run.sh had a zero exit code or showed the expected version
- 0 of 6 passed binary check by having a zero exit code.
- 0 of 6 passed binary check by having the new version present in output.
- found 6.5.0 with grep in /nix/store/5h7bbvnfl6iqzpj4pqzv96x6xz349gch-pmd-6.5.0
- directory tree listing: https://gist.github.com/1ef84c65860a67391267c809fcb5cc80
- du listing: https://gist.github.com/309d9939074e63a6c6dcaf04f94312e9
* treewide: http -> https sources
This updates the source urls of all top-level packages from http to
https where possible.
* buildtorrent: fix url and tab -> spaces
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/cppcheck/versions.
These checks were done:
- built on NixOS
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/cert.py had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/cppcheckdata.py had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/findcasts.py had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/misc.py had a zero exit code or showed the expected version
- /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/misra.py passed the binary check.
- /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/naming.py passed the binary check.
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/threadsafety.py had a zero exit code or showed the expected version
- /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/y2038.py passed the binary check.
- Warning: no invocation of /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/cppcheck-htmlreport had a zero exit code or showed the expected version
- /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84/bin/cppcheck passed the binary check.
- 4 of 10 passed binary check by having a zero exit code.
- 1 of 10 passed binary check by having the new version present in output.
- found 1.84 with grep in /nix/store/59sw6pav9ij3f3y94pw66r8g5z96gr3a-cppcheck-1.84
- directory tree listing: https://gist.github.com/a464c9319c013b54fa8dad97171e724d
- du listing: https://gist.github.com/11c40551fbcd2a67342269599eecbb76
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/pmd/versions.
These checks were done:
- built on NixOS
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/bgastviewer.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/cpdgui.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/designer.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/pmd.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/cpd.bat had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0/bin/run.sh had a zero exit code or showed the expected version
- 0 of 6 passed binary check by having a zero exit code.
- 0 of 6 passed binary check by having the new version present in output.
- found 6.4.0 with grep in /nix/store/vjq9c2hiwhwz3blq7dpv4dbb715sb4di-pmd-6.4.0
- directory tree listing: https://gist.github.com/c371521af22489a6f711d026a7ae6ca8
- du listing: https://gist.github.com/c80d6292115b6f1817e4c877e3b840a9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/rr/versions.
These checks were done:
- built on NixOS
- /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/signal-rr-recording.sh passed the binary check.
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_64 had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_64_replay had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_32 had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_32_replay had a zero exit code or showed the expected version
- /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr passed the binary check.
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_exec_stub had a zero exit code or showed the expected version
- 2 of 7 passed binary check by having a zero exit code.
- 1 of 7 passed binary check by having the new version present in output.
- found 5.2.0 with grep in /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0
- directory tree listing: https://gist.github.com/74edbd75eb39af483431d15e9b4c34a8
- du listing: https://gist.github.com/a6983da3782900061246fd222ecc50f9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/flow/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/sxq54vh13q17bn31lsz9gszx4abr8qcc-flow-0.72.0/bin/flow --help’ got 0 exit code
- ran ‘/nix/store/sxq54vh13q17bn31lsz9gszx4abr8qcc-flow-0.72.0/bin/flow version’ and found version 0.72.0
- found 0.72.0 with grep in /nix/store/sxq54vh13q17bn31lsz9gszx4abr8qcc-flow-0.72.0
- directory tree listing: https://gist.github.com/cf04036cc5756f0589397f496e3e5e87
Apparently, without this patch `NT_PRSTATUS` is not found. So the patch
adds the include apparently necessary. `NT_PRSTATUS` is also defined in
`<linux/ptrace.h>`, which would likely have been a better name, were it
not in the `linux/` directory, which is a priori not stable.
The need to do that is kind of weird (the change was introduced in [1],
and fedora apparently didn't need this additional import), but I'll try
to upstream it.
[1] https://github.com/SimonKagstrom/kcov/pull/239