{ "name": "ddrescue", "version": "1.30", "summary": "GNU ddrescue: copies a failing disk or file, retrying and mapping the bad areas", "category": "tool", "license": "GPL-2.0-or-later", "homepage": "https://www.gnu.org/software/ddrescue/", "source": { "url": "https://mirrors.kernel.org/gnu/ddrescue/ddrescue-1.30.tar.lz", "sha256": "2264622d309d6c87a1cfc19148292b8859a688e9bc02d4702f5cd4f288745542" }, "watch": {"kind": "index", "url": "https://mirrors.kernel.org/gnu/ddrescue/", "regex": "ddrescue-([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)\\.tar\\.lz"}, "deps": [], "env_packages": [ "lzip" ], "static": true, "nss": false, "check": "bin/ddrescue --version | first && t=$(mktemp -d) && head -c 600000 /dev/urandom > \"$t/in\" && bin/ddrescue -q \"$t/in\" \"$t/out\" \"$t/map\" && cmp \"$t/in\" \"$t/out\" && bin/ddrescuelog -D \"$t/map\" && echo 'ddrescue: 600000 bytes copied with a mapfile that says finished'" }