void-packages/srcpkgs/grex/template

22 lines
677 B
Bash

# Template file for 'grex'
pkgname=grex
version=1.4.1
revision=1
build_style=cargo
short_desc="Tool for generating regular expressions from user-provided test cases"
maintainer="Ishaan Bhimwal <ishaanbhimwal@protonmail.com>"
license="Apache-2.0"
homepage="https://github.com/pemistahl/grex"
changelog="https://raw.githubusercontent.com/pemistahl/grex/main/RELEASE_NOTES.md"
distfiles="https://github.com/pemistahl/grex/archive/v${version}.tar.gz"
checksum=8413aae520d696969525961438d22e31cd966058ce3510e91e77da18603c96b9
post_patch() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.0.1 --precise 1.1.0
}
post_install() {
vdoc README.md
}