app-crypt/nitrokey-udev-rules: new package, add 1.1.0

Split by upstream from libnitrokey. Required by nitrokey tools
(nitrokey-sdk-py, pynitrokey, nitrokey-app2).

Signed-off-by: Jernej Jakob <jernej.jakob@gmail.com>
This commit is contained in:
Jernej Jakob
2026-05-03 22:20:10 +02:00
parent 3c461ebea2
commit 739ac84ae6
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST nitrokey-udev-rules-1.1.0.gh.tar.gz 8081 BLAKE2B 7df2b8e3d51f1d2db8480807568c54065e85fb7b222e8d62e13fc1cbcb30bd9d87f31e02e786ea2e7fd170c062a20ce5da1a1ed52b43c467bf5e676c87aabe9f SHA512 6b4e985d00ae29fa68a5e1ada8401d6df3956e6e228ec50b27c4ca1ae70ec16d161f8533106d1fb88ffc5ac115175bc3fbdabef664510f8df20ba220c9bf1cdc

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>jernej.jakob@gmail.com</email>
<name>Jernej Jakob</name>
</maintainer>
<upstream>
<remote-id type="github">Nitrokey/nitrokey-udev-rules</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit udev
DESCRIPTION="udev rules for Nitrokey devices"
HOMEPAGE="https://github.com/Nitrokey/nitrokey-udev-rules"
SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
virtual/udev
"
src_configure() { :; }
src_compile() { :; }
src_install() {
udev_dorules 41-nitrokey.rules
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}