syndication-domination: init at 1.0-unstable-2023-03-25

This commit is contained in:
aleksana 2024-06-18 22:27:32 +08:00
parent 7372a01400
commit b918680e7b
2 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,55 @@
{
lib,
stdenv,
fetchFromGitLab,
meson,
ninja,
pkg-config,
pugixml,
fmt,
html-tidy,
enablePython? false,
python3Packages,
}:
stdenv.mkDerivation {
pname = "syndication-domination";
# author extraction feature needed by gnome-feeds
version = "1.0-unstable-2023-03-25";
src = fetchFromGitLab {
owner = "gabmus";
repo = "syndication-domination";
rev = "75920321062d682437f3fb0319dad227d8b18f6c";
hash = "sha256-fOlE9CsNcmGkVBXaqYHxLDWB8voeRp46+dZYIJIwg7o=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
pugixml
fmt
html-tidy
] ++ lib.optionals enablePython [
python3Packages.python
python3Packages.pybind11
];
mesonFlags = [
(lib.mesonBool "TO_JSON_BINARY" true)
(lib.mesonBool "PYTHON_BINDINGS" enablePython)
];
meta = {
description = "RSS/Atom parser written in C++ with Python binding";
homepage = "https://gitlab.com/gabmus/syndication-domination";
license = lib.licenses.agpl3Only;
mainProgram = "SyndicationDomination";
maintainers = with lib.maintainers; [ aleksana ];
platforms = lib.platforms.all;
};
}

View File

@ -14818,6 +14818,11 @@ self: super: with self; {
syncer = callPackage ../development/python-modules/syncer { };
syndication-domination = toPythonModule (pkgs.syndication-domination.override {
enablePython = true;
python3Packages = self;
});
synergy = callPackage ../development/python-modules/synergy { };
synologydsm-api = callPackage ../development/python-modules/synologydsm-api { };