diff options
author | lassulus <lassulus@lassul.us> | 2021-09-05 18:39:30 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-09-05 18:39:30 +0200 |
commit | a6d7d60d6f7abfba2d5d6df7f31d64feb0dbd418 (patch) | |
tree | baecd8d13bb300173e26fbdeb46de941d6c3aa2d /makefu/5pkgs | |
parent | e3e859c14eb34bc045544ff64c3340b9f4dbe1f0 (diff) | |
parent | ee66b2f02d455060267f8f59c1fea97b8310668d (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/5pkgs')
-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 + ''; +} |