14 rustPlatform.buildRustPackage rec {
18 src = fetchFromGitHub {
19 owner = "haecker-felix";
22 sha256 = "sha256-zcsoTWpNonkgJLTC8S9Nubnzdhj5ROL/UGNWUsLxLgs=";
26 lockFile = ./Cargo.lock;
28 "matrix-qrcode-0.1.0" = "sha256-g78Ql+r5NYNcnkoirH9E6AHagZgBCgxBfweaX1D0z0E=";
32 nativeBuildInputs = [ pkg-config cmake ] ++
33 lib.optionals stdenv.isDarwin [ autoconf automake ];
35 buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
38 description = "A Matrix bot which can generate \"This Week in X\" like blog posts ";
39 homepage = "https://github.com/haecker-felix/hebbot";
40 changelog = "https://github.com/haecker-felix/hebbot/releases/tag/v${version}";
41 license = with licenses; [ agpl3Only ];
42 mainProgram = "hebbot";
43 maintainers = with maintainers; [ a-kenji ];