void-packages/srcpkgs/gip/template
q66 9d4bf64b98 gip: broken
This does not build with current Rust as it depends on an old
version of the hyper crate, which depends on an old version of
the url crate. Attempting to update any of them results in
constraints not being satisfied.
2020-01-06 15:43:27 +01:00

23 lines
756 B
Bash

# Template file for 'gip'
pkgname=gip
version=0.6.0
revision=2
build_style=cargo
short_desc="CLI tool to get global IP address"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://github.com/dalance/gip"
distfiles="https://github.com/dalance/gip/archive/v${version}.tar.gz"
checksum=b8f5ba15a554ba4cb85a32449a8f665db24ab9dde7c47e7e6e10724fc9a76422
broken="No longer builds with current Rust (url crate)"
pre_build() {
# the defined version (0.2.39 at the time of writing) is buggy on
# ppc64*-musl, pin the oldest newer working version; on next update
# please check Cargo.lock to verify if this is still necessary
cargo update --package libc --precise 0.2.43
}
post_install() {
vlicense LICENSE-MIT
}