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