{ "name": "util-linux", "version": "2.42.4", "summary": "util-linux: lsblk, lscpu, findmnt, blkid, column, flock, script, whereis, rev, hexdump, more and other everyday tools", "category": "core", "license": "GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause", "homepage": "https://github.com/util-linux/util-linux", "source": { "url": "https://www.kernel.org/pub/linux/utils/util-linux/v2.42/util-linux-2.42.4.tar.xz", "sha256": "fbd62a100ab7bb8746ba0661255c3c48185b1e9021507c624da01fbc696330ec" }, "watch": {"kind": "github-tag", "repo": "util-linux/util-linux", "tag_regex": "^v([0-9]+\\.[0-9]+(?:\\.[0-9]+)?)$", "checksum": "https://www.kernel.org/pub/linux/utils/util-linux/v{major}.{minor}/sha256sums.asc"}, "deps": ["ncurses"], "env_packages": [], "static": false, "nss": true, "check": "bin/lsblk --version | has 'util-linux 2.42.4' && bin/lscpu | has -i '^architecture:' && printf 'a b\\nccc d\\n' | bin/column -t | has -x 'ccc d' && printf abc | bin/rev | has -x cba && t=$(mktemp -d) && bin/flock \"$t/lock\" true && printf 'hi' | bin/hexdump -C | has '68 69' && bin/whereis sh | has '^sh:' && bin/blkid --version | has 'blkid from util-linux' && bin/findmnt --version | has 'util-linux' && ! ls lib/libblkid* lib/libmount* lib/libsmartcols* 2>/dev/null && ! [ -e include/blkid ] && echo 'util-linux: column, rev, flock and hexdump did their work; no library left for another recipe to find'" }