2022-09-09 14:08:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, feedparser
|
|
|
|
, httpx
|
|
|
|
, loca
|
|
|
|
, markdownify
|
|
|
|
, trio
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rsskey";
|
|
|
|
version = "0.2.0";
|
|
|
|
format = "flit";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-QedLuwd0ES2LWhZ72Cjh3+ZZ7HbRyNsyLN9lNFbY5dQ=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|