1{ lib
2, buildPythonPackage
3, fetchPypi
4, flit-core
5, feedparser
6, httpx
7, loca
8, markdownify
9, trio
10}:
11
12buildPythonPackage rec {
13 pname = "rsskey";
14 version = "0.2.0";
15 format = "pyproject";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-QedLuwd0ES2LWhZ72Cjh3+ZZ7HbRyNsyLN9lNFbY5dQ=";
20 };
21
22 nativeBuildInputs = [
23 flit-core
24 ];
25
26 propagatedBuildInputs = [
27 feedparser
28 httpx
29 loca
30 markdownify
31 trio
32 ];
33
34 doCheck = false; # upstream has no test
35 pythonImportsCheck = [ "rsskey" ];
36
37 meta = with lib; {
38 description = "RSS feed mirror on Misskey";
39 homepage = "https://sr.ht/~cnx/rsskey";
40 license = licenses.agpl3Plus;
41 maintainers = with maintainers; [ McSinyx ];
42 };
43}