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