guru/dev-nim/noise/noise-0.1.8.ebuild
Anna (cybertailor) Vyalkova 90993a08de
dev-nim/noise: add 0.1.8
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2022-12-12 16:22:56 +05:00

33 lines
660 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit nimble
DESCRIPTION="a Nim implementation of linenoise"
HOMEPAGE="
https://github.com/jangko/nim-noise
https://nimble.directory/pkg/noise
"
SRC_URI="https://github.com/jangko/nim-${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/nim-${P}"
LICENSE="MIT"
SLOT="0.1.4"
KEYWORDS="~amd64"
DOCS=( examples readme.md )
set_package_url "https://github.com/jangko/nim-noise"
src_test() {
nimble_src_test
rm examples/{primitives,test} || die
}
src_install() {
docompress -x /usr/share/doc/${PF}/examples
nimble_src_install
}