1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "aaa";
9 version = "1.1.1";
10
11 src = fetchFromGitHub {
12 owner = "DomesticMoth";
13 repo = "aaa";
14 tag = "v${version}";
15 sha256 = "sha256-gIOlPjZOcmVLi9oOn4gBv6F+3Eq6t5b/3fKzoFqxclw=";
16 };
17
18 cargoHash = "sha256-CHX+Ugy4ND36cpxNEFpnqid6ALHMPXmfXi+D4aktPRk=";
19
20 meta = {
21 description = "Terminal viewer for 3a format";
22 homepage = "https://github.com/DomesticMoth/aaa";
23 license = lib.licenses.gpl3Only;
24 maintainers = with lib.maintainers; [ asciimoth ];
25 mainProgram = "aaa";
26 };
27}