usbguard: cleanup

This commit is contained in:
Philipp Bartsch
2025-07-27 21:29:49 +02:00
parent edec20fa26
commit ea5608d825
+9 -9
View File
@@ -21,14 +21,14 @@
libsodium,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
version = "1.1.4";
pname = "usbguard";
src = fetchFromGitHub {
owner = "USBGuard";
repo = "usbguard";
rev = "usbguard-${version}";
tag = "usbguard-${finalAttrs.version}";
hash = "sha256-PDuYszdG6BK4fkAHWWBct1d7tnwwe+5XOw+xmSPoPCY=";
fetchSubmodules = true;
};
@@ -74,17 +74,17 @@ stdenv.mkDerivation rec {
passthru.tests = nixosTests.usbguard;
meta = with lib; {
description = "USBGuard software framework helps to protect your computer against BadUSB";
meta = {
description = "Protect your computer against rogue USB devices (a.k.a. BadUSB)";
longDescription = ''
USBGuard is a software framework for implementing USB device authorization
policies (what kind of USB devices are authorized) as well as method of
use policies (how a USB device may interact with the system). Simply put,
it is a USB device whitelisting tool.
it is a USB device allowlisting tool.
'';
homepage = "https://usbguard.github.io/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.tnias ];
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.tnias ];
};
}
})