opensnitch: 1.7.0.0 -> 1.7.1 (#421999)

This commit is contained in:
Guillaume Girol 2025-07-09 21:01:30 +02:00 committed by GitHub
commit 614b6619e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
{
buildGoModule,
fetchFromGitHub,
fetchpatch,
protobuf,
go-protobuf,
pkg-config,
@ -35,24 +34,15 @@ let
in
buildGoModule (finalAttrs: {
pname = "opensnitch";
version = "1.7.0.0";
version = "1.7.1";
src = fetchFromGitHub {
owner = "evilsocket";
repo = "opensnitch";
tag = "v${finalAttrs.version}";
hash = "sha256-ZkXqocgxyJGo5uQq4Ct1wmUIQljtx5oPzj4JfWWAuSE=";
hash = "sha256-j73wbHm8hrfm+8YVwonzU+ddzwSk9+ecucsQ0Es715k=";
};
patches = [
# https://github.com/evilsocket/opensnitch/issues/1357
# remove next release
(fetchpatch {
url = "https://github.com/dwongdev/opensnitch/commit/376b06ef97ef79e3afa699878af2e59918aa7ef0.patch?full_index=1";
hash = "sha256-QBhc4A2Dign5JY4fcQ2c3F02xFj3m3G2VwY9cFuWV3w=";
})
];
postPatch = ''
# Allow configuring Version at build time
substituteInPlace daemon/core/version.go --replace-fail "const " "var "