{ "name": "ouch", "version": "0.8.3", "summary": "ouch: one command to compress, decompress and list archives (tar, zip, 7z, gz, bz2, bz3, xz, lz4, zst, sz, br; rar read) (Rust)", "category": "tool", "license": "MIT", "homepage": "https://github.com/ouch-org/ouch", "source": { "url": "https://github.com/ouch-org/ouch/archive/refs/tags/0.8.3.tar.gz", "sha256": "f695393cbbd89cf5a2095c32235e585a85432ccfb902c78d2a2e9787abbb439c" }, "watch": {"kind": "github-release", "repo": "ouch-org/ouch", "tag_regex": "^([0-9]+\\.[0-9]+\\.[0-9]+)$", "revendor": {"tool": "cargo", "lockfile": "Cargo.lock"}}, "vendor": "vendor.txt", "deps": [], "env_packages": [], "static": true, "nss": true, "check": "bin/ouch --version | has -x 'ouch 0.8.3' && t=$(mktemp -d) && p=$PWD && mkdir -p \"$t/d/sub\" && echo 'bvs one' > \"$t/d/a.txt\" && head -c 50000 /dev/urandom > \"$t/d/sub/b.bin\" && cd \"$t\" && for f in tar.gz zip tar.zst tar.xz 7z tar.bz2 tar.lz4; do \"$p/bin/ouch\" compress d \"d.$f\" -y -q < /dev/null > /dev/null 2>&1 && mkdir \"o-$f\" && \"$p/bin/ouch\" decompress \"d.$f\" --dir \"o-$f\" -y -q < /dev/null > /dev/null 2>&1 && cmp d/sub/b.bin \"o-$f/d/sub/b.bin\" && cmp d/a.txt \"o-$f/d/a.txt\" || exit 1; done && \"$p/bin/ouch\" list d.zip < /dev/null | has -x 'd/sub/b.bin' && echo 'ouch 0.8.3: a folder packed and unpacked byte for byte as tar.gz, zip, tar.zst, tar.xz, 7z, tar.bz2 and tar.lz4; a zip listed'" }