hebbot: init at 2.1 (#187178)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
f994d00daf
commit
7e533d199f
3 changed files with 49 additions and 0 deletions
|
@ -1359,6 +1359,12 @@
|
|||
githubId = 9315;
|
||||
name = "Zhong Jianxin";
|
||||
};
|
||||
a-kenji = {
|
||||
email = "aks.kenji@protonmail.com";
|
||||
github = "a-kenji";
|
||||
githubId = 65275785;
|
||||
name = "Alexander Kenji Berthold";
|
||||
};
|
||||
b4dm4n = {
|
||||
email = "fabianm88@gmail.com";
|
||||
github = "B4dM4n";
|
||||
|
|
39
pkgs/servers/matrix-hebbot/default.nix
Normal file
39
pkgs/servers/matrix-hebbot/default.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, pkgs
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, cmake
|
||||
, openssl
|
||||
, autoconf
|
||||
, automake
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hebbot";
|
||||
version = "2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "haecker-felix";
|
||||
repo = "hebbot";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zcsoTWpNonkgJLTC8S9Nubnzdhj5ROL/UGNWUsLxLgs=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-ZNETA2JUZCS8/a2oeF+JCGVKbzeyhp51D0BmBTPToOw=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ] ++
|
||||
lib.optionals stdenv.isDarwin [ autoconf automake ];
|
||||
|
||||
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Matrix bot which can generate \"This Week in X\" like blog posts ";
|
||||
homepage = "https://github.com/haecker-felix/hebbot";
|
||||
changelog = "https://github.com/haecker-felix/hebbot/releases/tag/v${version}";
|
||||
license = with licenses; [ agpl3 ];
|
||||
maintainers = with maintainers; [ a-kenji ];
|
||||
};
|
||||
}
|
|
@ -3988,6 +3988,10 @@ with pkgs;
|
|||
|
||||
hebcal = callPackage ../tools/misc/hebcal {};
|
||||
|
||||
hebbot = callPackage ../servers/matrix-hebbot {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
hexio = callPackage ../development/tools/hexio { };
|
||||
|
||||
hexyl = callPackage ../tools/misc/hexyl { };
|
||||
|
|
Loading…
Reference in a new issue