From 7b9aa23df550076f506195bb5935491c56c96753 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Apr 2024 00:47:52 +0200 Subject: [PATCH 1/3] scilla: 1.2.7 -> 1.3.0 Diff: https://github.com/edoardottt/scilla/compare/refs/tags/v1.2.7...v1.3.0 Changelog: https://github.com/edoardottt/scilla/releases/tag/v1.3.0 --- pkgs/tools/security/scilla/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/scilla/default.nix b/pkgs/tools/security/scilla/default.nix index 0484cfaa9f87..e003683181da 100644 --- a/pkgs/tools/security/scilla/default.nix +++ b/pkgs/tools/security/scilla/default.nix @@ -5,16 +5,16 @@ buildGoModule rec { pname = "scilla"; - version = "1.2.7"; + version = "1.3.0"; src = fetchFromGitHub { owner = "edoardottt"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-gZuNXQaxHJYLsEaOpNYo7ybg3f0GhkpiaLrex5lkDu4="; + hash = "sha256-ms52ii2cbZSZtcyxhVN+FbGP6hysoLvS7XwdPqxYymU="; }; - vendorHash = "sha256-bVGmleuOJzi/Sz7MJlnQuJsDgRWuwieLUx8hcyKkWXI="; + vendorHash = "sha256-tOg4T9yQm1aj5G89lUeRUTxi4YrwpRi5KDcpWw4TimY="; checkFlags = [ # requires network access From f1b9f1c85962aaf904b45fb73d05b42bcffe27f9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Apr 2024 00:50:05 +0200 Subject: [PATCH 2/3] scilla: add ldflags --- pkgs/tools/security/scilla/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/scilla/default.nix b/pkgs/tools/security/scilla/default.nix index e003683181da..37237bd11181 100644 --- a/pkgs/tools/security/scilla/default.nix +++ b/pkgs/tools/security/scilla/default.nix @@ -9,13 +9,18 @@ buildGoModule rec { src = fetchFromGitHub { owner = "edoardottt"; - repo = pname; + repo = "scilla"; rev = "refs/tags/v${version}"; hash = "sha256-ms52ii2cbZSZtcyxhVN+FbGP6hysoLvS7XwdPqxYymU="; }; vendorHash = "sha256-tOg4T9yQm1aj5G89lUeRUTxi4YrwpRi5KDcpWw4TimY="; + ldflags = [ + "-w" + "-s" + ]; + checkFlags = [ # requires network access "-skip=TestIPToHostname" From a80624bfc192a78d9623a54ad3979c7111d1fc2d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 8 Apr 2024 00:50:33 +0200 Subject: [PATCH 3/3] scilla: format with nixfmt --- pkgs/tools/security/scilla/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/scilla/default.nix b/pkgs/tools/security/scilla/default.nix index 37237bd11181..24daa9f386c7 100644 --- a/pkgs/tools/security/scilla/default.nix +++ b/pkgs/tools/security/scilla/default.nix @@ -1,6 +1,7 @@ -{ lib -, buildGoModule -, fetchFromGitHub +{ + lib, + buildGoModule, + fetchFromGitHub, }: buildGoModule rec {