usbguard: 0.7.8 -> 1.0.0 (#109296)
This commit is contained in:
parent
51e3b19fc6
commit
e87245d87d
@ -1,28 +1,40 @@
|
|||||||
{
|
{ stdenv
|
||||||
stdenv, fetchurl, lib,
|
, lib
|
||||||
pkgconfig, libxslt, libxml2, docbook_xml_dtd_45, docbook_xsl, asciidoc,
|
, fetchFromGitHub
|
||||||
dbus-glib, libcap_ng, libqb, libseccomp, polkit, protobuf,
|
, autoreconfHook
|
||||||
audit,
|
, asciidoc
|
||||||
libgcrypt ? null,
|
, pkgconfig
|
||||||
libsodium ? null
|
, libxslt
|
||||||
|
, libxml2
|
||||||
|
, docbook_xml_dtd_45
|
||||||
|
, docbook_xsl
|
||||||
|
, dbus-glib
|
||||||
|
, libcap_ng
|
||||||
|
, libqb
|
||||||
|
, libseccomp
|
||||||
|
, polkit
|
||||||
|
, protobuf
|
||||||
|
, audit
|
||||||
|
, libgcrypt
|
||||||
|
, libsodium
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
|
||||||
|
|
||||||
assert libgcrypt != null -> libsodium == null;
|
assert libgcrypt != null -> libsodium == null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.7.8";
|
version = "1.0.0";
|
||||||
pname = "usbguard";
|
pname = "usbguard";
|
||||||
|
|
||||||
repo = "https://github.com/USBGuard/usbguard";
|
src = fetchFromGitHub {
|
||||||
|
owner = "USBGuard";
|
||||||
src = fetchurl {
|
repo = pname;
|
||||||
url = "${repo}/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
|
rev = "usbguard-${version}";
|
||||||
sha256 = "1il5immqfxh2cj8wn1bfk7l42inflzgjf07yqprpz7r3lalbxc25";
|
sha256 = "sha256-CPuBQmDOpXWn0jPo4HRyDCZUpDy5NmbvUHxXoVbMd/I=";
|
||||||
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
asciidoc
|
asciidoc
|
||||||
pkgconfig
|
pkgconfig
|
||||||
libxslt # xsltproc
|
libxslt # xsltproc
|
||||||
@ -54,8 +66,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "The USBGuard software framework helps to protect your computer against BadUSB";
|
description = "The USBGuard software framework helps to protect your computer against 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.
|
||||||
|
'';
|
||||||
homepage = "https://usbguard.github.io/";
|
homepage = "https://usbguard.github.io/";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = [ maintainers.tnias ];
|
maintainers = [ maintainers.tnias ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user