Unverified Commit 897a46dd authored by Arnout Engelen's avatar Arnout Engelen
Browse files

opensnitch: basic version test

parent 0c4800d5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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";