dev-nim/noise: new package, add 0.1.14

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-07-11 05:58:12 +05:00
parent a21de3856b
commit de688186ef
3 changed files with 44 additions and 0 deletions

1
dev-nim/noise/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST noise-0.1.14.tar.gz 30737 BLAKE2B c0b09ccfe55f3acad827af22def439d8bf00a9c14b8976a8681ed1aa8067c0f9f794ce68987384df2ccb4de3ffd3cc18d3aae73561b4576af47f299f5e4a9c2e SHA512 590c08e7fefdc95b5e3ed36e86467e999b479b4a38b80df56cbd9c0a5c3fb6f2d667f35bb3dcd6c44cae53d8fd77481f6534879fbd1e6230a61fa452eb296d0a

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
<upstream>
<remote-id type="github">jangko/nim-noise</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,32 @@
# 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
}