Merge pull request #185118 from McSinyx/rsskey
This commit is contained in:
commit
7b1ef0c093
3 changed files with 69 additions and 0 deletions
27
pkgs/development/python-modules/markdownify/default.nix
Normal file
27
pkgs/development/python-modules/markdownify/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, beautifulsoup4
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "markdownify";
|
||||
version = "0.11.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-crOkiv/M8v7rJd/Tvsq67PU76vTgi+aNzthEcniDKBM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ beautifulsoup4 six ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "HTML to Markdown converter";
|
||||
homepage = "https://github.com/matthewwithanm/python-markdownify";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.McSinyx ];
|
||||
};
|
||||
}
|
38
pkgs/development/python-modules/rsskey/default.nix
Normal file
38
pkgs/development/python-modules/rsskey/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -5447,6 +5447,8 @@ in {
|
|||
|
||||
markdown-macros = callPackage ../development/python-modules/markdown-macros { };
|
||||
|
||||
markdownify = callPackage ../development/python-modules/markdownify { };
|
||||
|
||||
markdownsuperscript = callPackage ../development/python-modules/markdownsuperscript { };
|
||||
|
||||
markerlib = callPackage ../development/python-modules/markerlib { };
|
||||
|
@ -9659,6 +9661,8 @@ in {
|
|||
|
||||
rsa = callPackage ../development/python-modules/rsa { };
|
||||
|
||||
rsskey = callPackage ../development/python-modules/rsskey { };
|
||||
|
||||
rst2ansi = callPackage ../development/python-modules/rst2ansi { };
|
||||
|
||||
rstcheck = callPackage ../development/python-modules/rstcheck { };
|
||||
|
|
Loading…
Reference in a new issue