diff options
author | makefu <github@syntax-fehler.de> | 2021-09-01 13:35:05 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-09-01 13:35:05 +0200 |
commit | 5c570ab3fc90ca689a9f01c0bffd2470130738ba (patch) | |
tree | a502e33b98d047ac2d2948fa82a0d6368ede646c /makefu/5pkgs/custom/mediawiki-matrix-bot | |
parent | e6884999a9a002c20ab854aa14c428792ab72b21 (diff) |
ma nix-community: add mediawiki-matrix-bot
Diffstat (limited to 'makefu/5pkgs/custom/mediawiki-matrix-bot')
-rw-r--r-- | makefu/5pkgs/custom/mediawiki-matrix-bot/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/makefu/5pkgs/custom/mediawiki-matrix-bot/default.nix b/makefu/5pkgs/custom/mediawiki-matrix-bot/default.nix new file mode 100644 index 000000000..4a91a9161 --- /dev/null +++ b/makefu/5pkgs/custom/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 + ''; +} |