about summary refs log tree commit diff
path: root/pkgs/development/python-modules/rsskey/default.nix
blob: 61cba286d1b11d58d5e09bf3a94ec4d3969d9d45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{ lib
, buildPythonPackage
, fetchPypi
, flit-core
, feedparser
, httpx
, loca
, markdownify
, trio
}:

buildPythonPackage rec {
  pname = "rsskey";
  version = "0.2.0";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-QedLuwd0ES2LWhZ72Cjh3+ZZ7HbRyNsyLN9lNFbY5dQ=";
  };

  nativeBuildInputs = [
    flit-core
  ];

  propagatedBuildInputs = [
    feedparser
    httpx
    loca
    markdownify
    trio
  ];

  doCheck = false; # upstream has no test
  pythonImportsCheck = [ "rsskey" ];

  meta = with lib; {
    description = "RSS feed mirror on Misskey";
    homepage = "https://sr.ht/~cnx/rsskey";
    license = licenses.agpl3Plus;
    maintainers = with maintainers; [ McSinyx ];
  };
}