nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, rustPlatform
3, fetchFromGitHub
4}:
5
6rustPlatform.buildRustPackage rec {
7 pname = "ares-rs";
8 version = "0.9.0";
9
10 src = fetchFromGitHub {
11 owner = "bee-san";
12 repo = "ares";
13 rev = "refs/tags/${version}";
14 hash = "sha256-F+uBGRL1G8kiNZUCsiPbISBfId5BPwShenusqkcsHug=";
15 };
16
17 cargoHash = "sha256-7zDq66oWT+j6t9LEBUoeby8MQ1Ihhvk3KLwWPQAThyc=";
18
19 meta = with lib; {
20 description = "Automated decoding of encrypted text without knowing the key or ciphers used";
21 homepage = "https://github.com/bee-san/ares";
22 changelog = "https://github.com/bee-san/Ares/releases/tag${version}";
23 license = licenses.mit;
24 maintainers = with maintainers; [ fab ];
25 mainProgram = "ares";
26 };
27}