fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
42 lines
739 B
Nix
42 lines
739 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|