Merge pull request #220642 from raboof/opensnitch-daemon-basic-version-test

opensnitch: basic version test
This commit is contained in:
superherointj 2023-03-11 09:49:57 -03:00 committed by GitHub
commit 39a5e6f81a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,8 @@
, iptables
, makeWrapper
, protoc-gen-go-grpc
, testers
, opensnitch
}:
buildGoModule rec {
@ -70,6 +72,11 @@ buildGoModule rec {
--prefix PATH : ${lib.makeBinPath [ iptables ]}
'';
passthru.tests.version = testers.testVersion {
package = opensnitch;
command = "opensnitchd -version";
};
meta = with lib; {
description = "An application firewall";
homepage = "https://github.com/evilsocket/opensnitch/wiki";