depot/third_party/nixpkgs/pkgs/development/python-modules/rsskey/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

38 lines
675 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, feedparser
, httpx
, loca
, markdownify
, trio
}:
buildPythonPackage rec {
pname = "rsskey";
version = "0.2.0";
format = "flit";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-QedLuwd0ES2LWhZ72Cjh3+ZZ7HbRyNsyLN9lNFbY5dQ=";
};
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 ];
};
}