about summary refs log tree commit diff
path: root/pkgs/tools/security/ares-rs
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-03-06 00:16:48 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2023-03-06 00:16:48 +0100
commit1fc187089b742fb79f07d88ede3b9939281ce3ba (patch)
tree020d0bf66e4a185a72827417e3a0976577eaac89 /pkgs/tools/security/ares-rs
parent710635f625fec5967ec51e865e0e0c3173df324c (diff)
ares-rs: init at 0.9.0
Diffstat (limited to 'pkgs/tools/security/ares-rs')
-rw-r--r--pkgs/tools/security/ares-rs/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/security/ares-rs/default.nix b/pkgs/tools/security/ares-rs/default.nix
new file mode 100644
index 0000000000000..433cdaa5792af
--- /dev/null
+++ b/pkgs/tools/security/ares-rs/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, rustPlatform
+, fetchFromGitHub
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "ares-rs";
+  version = "0.9.0";
+
+  src = fetchFromGitHub {
+    owner = "bee-san";
+    repo = "ares";
+    rev = "refs/tags/${version}";
+    hash = "sha256-F+uBGRL1G8kiNZUCsiPbISBfId5BPwShenusqkcsHug=";
+  };
+
+  cargoHash = "sha256-7zDq66oWT+j6t9LEBUoeby8MQ1Ihhvk3KLwWPQAThyc=";
+
+  meta = with lib; {
+    description = "Automated decoding of encrypted text without knowing the key or ciphers used";
+    homepage = "https://github.com/bee-san/ares";
+    changelog = "https://github.com/bee-san/Ares/releases/tag${version}";
+    license = licenses.mit;
+    maintainers = with maintainers; [ fab ];
+    mainProgram = "ares";
+  };
+}