@@ -3,20 +3,19 @@ class SigmaCli < Formula
3
3
4
4
desc "CLI based on pySigma"
5
5
homepage "https://github.com/SigmaHQ/sigma-cli"
6
- url "https://files.pythonhosted.org/packages/7e/9a/6ad847f2e2ad0ac673839504a9aa1bf1b69f2c38265cf119a8b3d3dbf481 /sigma_cli-1.0.5 .tar.gz"
7
- sha256 "7720244026fabf5bbd1ba37ae67b9cc1dc9d61a79320562d55e2228409b159e7 "
6
+ url "https://files.pythonhosted.org/packages/5a/69/8c7583ddca7b3bb369a497526c56131b674eeae6cf6e4ccdb2f16922188c /sigma_cli-1.0.6 .tar.gz"
7
+ sha256 "5cd4471fcda44ea8e5671c81cc86bc685227107df57e128b75e125ee3d6d4123 "
8
8
license "LGPL-2.1-or-later"
9
- revision 1
10
9
head "https://github.com/SigmaHQ/sigma-cli.git" , branch : "main"
11
10
12
11
bottle do
13
- sha256 cellar : :any , arm64_sequoia : "4e5a5e2500a78686eb148ad2ec997f4b99093503b5efdc4b04127aaa0392b237 "
14
- sha256 cellar : :any , arm64_sonoma : "6f5bc461b76f4c1960482d648e708839464a7c6b6a8dff911f4fb4365d5cb236 "
15
- sha256 cellar : :any , arm64_ventura : "8c884e0e252c3c76ea47a893de6689dd776913f9076875ccbf75b0e2dc23af70 "
16
- sha256 cellar : :any , sonoma : "02a0c87e8d0b6b34c392a38d4f978818522f9ec3d4641cafaf6e0a174a8e85a5 "
17
- sha256 cellar : :any , ventura : "d5dd6070e60661bd85e93b04ef7276d890e3cd826a11c8f6df66a178fc1e4cdd "
18
- sha256 cellar : :any_skip_relocation , arm64_linux : "73f0f5dd8e6fccb65845983467cda2e434e57e7c10a47d672f30e9aec1340464 "
19
- sha256 cellar : :any_skip_relocation , x86_64_linux : "85b48f3544a8b9111dc264ebfa6ebe09890fc1e7fe755a47b96b24c5acd1a6d9 "
12
+ sha256 cellar : :any , arm64_sequoia : "c6d78dd65c011cb02aad6b5140ead7eb5124ab4fbea369a5dce122d712f0b0b8 "
13
+ sha256 cellar : :any , arm64_sonoma : "85115656c19613d735ae5de03c79f29a6694557fc75345cf7837e0bb9b1eb370 "
14
+ sha256 cellar : :any , arm64_ventura : "f557b8b18a5a768b8487c95dba2cd7485da195e066799dd1e264abdf6852e2ea "
15
+ sha256 cellar : :any , sonoma : "efa50f65d990ffcefab35f0d6737005e68c0f1af2c7665c1d561787636461cc1 "
16
+ sha256 cellar : :any , ventura : "6cfc1bcc24a6cde2db104e34851a74a8a0ba94f59da2467b04cbca3c743314e8 "
17
+ sha256 cellar : :any_skip_relocation , arm64_linux : "c23d4b7585b43e08f540e29cc3a85517df5d3e265ad51e62f3f2dad811ce0989 "
18
+ sha256 cellar : :any_skip_relocation , x86_64_linux : "1bcc12dc6e12bb856e8986ce5e4dd4d1cb6e062dc0b807fd8889a3b530843bde "
20
19
end
21
20
22
21
depends_on "certifi"
@@ -61,24 +60,18 @@ class SigmaCli < Formula
61
60
end
62
61
63
62
resource "prettytable" do
64
- url "https://files.pythonhosted.org/packages/38/95/78080e58efbdde46cda8d4498737bf9687839ed4a9744b068cc730a073ed /prettytable-3.15.1 .tar.gz"
65
- sha256 "f0edb38060cb9161b2417939bfd5cd9877da73388fb19d1e8bf7987e8558896e "
63
+ url "https://files.pythonhosted.org/packages/99/b1/85e18ac92afd08c533603e3393977b6bc1443043115a47bb094f3b98f94f /prettytable-3.16.0 .tar.gz"
64
+ sha256 "3c64b31719d961bf69c9a7e03d0c1e477320906a98da63952bc6698d6164ff57 "
66
65
end
67
66
68
67
resource "pyparsing" do
69
- url "https://files.pythonhosted.org/packages/8b/1a/3544f4f299a47911c2ab3710f534e52fea62a633c96806995da5d25be4b2 /pyparsing-3.2.1 .tar.gz"
70
- sha256 "61980854fd66de3a90028d679a954d5f2623e83144b5afe5ee86f43d762e5f0a "
68
+ url "https://files.pythonhosted.org/packages/bb/22/f1129e69d94ffff626bdb5c835506b3a5b4f3d070f17ea295e12c2c6f60f /pyparsing-3.2.3 .tar.gz"
69
+ sha256 "b9c13f1ab8b3b542f72e28f634bad4de758ab3ce4546e4301970ad6fa77c38be "
71
70
end
72
71
73
72
resource "pysigma" do
74
- url "https://files.pythonhosted.org/packages/4c/e8/88fe64e0ff626362a366dddb5ba8229b087aec5b0fae5ec76ad5988830a0/pysigma-0.11.19.tar.gz"
75
- sha256 "075df35e56f2128491f8ad501cc063d88d282879d37b50213fc6b5008fac8625"
76
-
77
- # poetry 2.0 build patch, upstream pr ref, https://github.com/SigmaHQ/pySigma/pull/318
78
- patch do
79
- url "https://github.com/Homebrew/formula-patches/commit/d0361c3e94fd7020a2f94d0c2e1124a9371134e5.patch?full_index=1"
80
- sha256 "bd6e4fb6d4d214a469902e350d7d9429ae44ee55cf1d43ba36085d17cd5824d3"
81
- end
73
+ url "https://files.pythonhosted.org/packages/a4/41/1c37926a1aa6ab4d59fb85bad22940ae02db60239bb549c72cef17151e0c/pysigma-0.11.21.tar.gz"
74
+ sha256 "41f25ab8f5dcdcc51cdbae4b0ca4f5ffa36b9d1f8bcb9166f6b6a4fecbb24ee2"
82
75
end
83
76
84
77
resource "pysigma-backend-sqlite" do
@@ -103,8 +96,8 @@ class SigmaCli < Formula
103
96
end
104
97
105
98
resource "urllib3" do
106
- url "https://files.pythonhosted.org/packages/aa/63/e53da845320b757bf29ef6a9062f5c669fe997973f966045cb019c3f4b66 /urllib3-2.3 .0.tar.gz"
107
- sha256 "f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d "
99
+ url "https://files.pythonhosted.org/packages/8a/78/16493d9c386d8e60e442a35feac5e00f0913c0f4b7c217c11e8ec2ff53e0 /urllib3-2.4 .0.tar.gz"
100
+ sha256 "414bc6535b787febd7567804cc015fee39daab8ad86268f1310a9250697de466 "
108
101
end
109
102
110
103
resource "wcwidth" do
@@ -113,6 +106,9 @@ class SigmaCli < Formula
113
106
end
114
107
115
108
def install
109
+ # The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
110
+ ENV [ "SOURCE_DATE_EPOCH" ] = "1451574000"
111
+
116
112
virtualenv_install_with_resources
117
113
118
114
generate_completions_from_executable ( bin /"sigma" , shells : [ :fish , :zsh ] , shell_parameter_format : :click )
0 commit comments