summaryrefslogtreecommitdiffstats
path: root/makefu
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-08-31 21:35:23 +0200
committermakefu <github@syntax-fehler.de>2021-08-31 21:35:23 +0200
commite6884999a9a002c20ab854aa14c428792ab72b21 (patch)
tree44c516a6b0a0a26941076fa115be04d6f7157c3d /makefu
parent6e9910aa65b63d7bda3434c8089f6904adb8e45c (diff)
ma pkgs.mediawiki-matrix-bot: init at 1.0.0
Diffstat (limited to 'makefu')
-rw-r--r--makefu/5pkgs/mediawiki-matrix-bot/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/makefu/5pkgs/mediawiki-matrix-bot/default.nix b/makefu/5pkgs/mediawiki-matrix-bot/default.nix
new file mode 100644
index 000000000..4a91a9161
--- /dev/null
+++ b/makefu/5pkgs/mediawiki-matrix-bot/default.nix
@@ -0,0 +1,22 @@
+{ buildPythonApplication, fetchFromGitHub, feedparser, matrix-nio, docopt, aiohttp, aiofiles,
+mypy }:
+
+buildPythonApplication rec {
+ pname = "mediawiki-matrix-bot";
+ version = "1.0.0";
+ src = fetchFromGitHub {
+ owner = "nix-community";
+ repo = "mediawiki-matrix-bot";
+ rev = "v${version}";
+ sha256 = "1923097j1xh34jmm0zhmvma614jcxaagj89c1fc1j2qyv14ybsvs";
+ };
+ propagatedBuildInputs = [
+ feedparser matrix-nio docopt aiohttp aiofiles
+ ];
+ nativeBuildInputs = [
+ mypy
+ ];
+ checkPhase = ''
+ mypy --strict mediawiki_matrix_bot
+ '';
+}