Commit ea5608d8 authored by Philipp Bartsch's avatar Philipp Bartsch
Browse files

usbguard: cleanup

parent edec20fa
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -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 ];
  };
}
})