opensnitch: basic version test
This commit is contained in:
parent
0c4800d579
commit
897a46dd29
|
@ -11,6 +11,8 @@
|
||||||
, iptables
|
, iptables
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, protoc-gen-go-grpc
|
, protoc-gen-go-grpc
|
||||||
|
, testers
|
||||||
|
, opensnitch
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
@ -70,6 +72,11 @@ buildGoModule rec {
|
||||||
--prefix PATH : ${lib.makeBinPath [ iptables ]}
|
--prefix PATH : ${lib.makeBinPath [ iptables ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = opensnitch;
|
||||||
|
command = "opensnitchd -version";
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An application firewall";
|
description = "An application firewall";
|
||||||
homepage = "https://github.com/evilsocket/opensnitch/wiki";
|
homepage = "https://github.com/evilsocket/opensnitch/wiki";
|
||||||
|
|
Loading…
Reference in a new issue