diff --git a/srcpkgs/bandwhich/template b/srcpkgs/bandwhich/template index ee5e75f5d52146..afb640eddfadc0 100644 --- a/srcpkgs/bandwhich/template +++ b/srcpkgs/bandwhich/template @@ -1,7 +1,7 @@ # Template file for 'bandwhich' pkgname=bandwhich version=0.20.0 -revision=1 +revision=2 build_style=cargo short_desc="Terminal bandwidth utilization tool" maintainer="Jan Christian Grünhage " @@ -10,6 +10,12 @@ homepage="https://github.com/imsnif/bandwhich" distfiles="${homepage}/archive/${version}.tar.gz" checksum=4bbf05be32439049edd50bd1e4d5a2a95b0be8d36782e4100732f0cc9f19ba12 +post_patch() { + # fixes compilation on Rust 1.64 and higher + cargo update --package socket2:0.3.11 --precise 0.3.16 +} + + post_install() { vlicense LICENSE.md }