evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / sy / syndication-domination / package.nix
blob10e325d8564253e36a02a9a7bf8fad217c171c15
2   lib,
3   stdenv,
4   fetchFromGitLab,
5   meson,
6   ninja,
7   pkg-config,
8   pugixml,
9   fmt,
10   html-tidy,
11   enablePython? false,
12   python3Packages,
15 stdenv.mkDerivation {
16   pname = "syndication-domination";
17   # author extraction feature needed by gnome-feeds
18   version = "1.0-unstable-2023-03-25";
20   src = fetchFromGitLab {
21     owner = "gabmus";
22     repo = "syndication-domination";
23     rev = "75920321062d682437f3fb0319dad227d8b18f6c";
24     hash = "sha256-fOlE9CsNcmGkVBXaqYHxLDWB8voeRp46+dZYIJIwg7o=";
25   };
27   nativeBuildInputs = [
28     meson
29     ninja
30     pkg-config
31   ];
33   buildInputs = [
34     pugixml
35     fmt
36     html-tidy
37   ] ++ lib.optionals enablePython [
38     python3Packages.python
39     python3Packages.pybind11
40   ];
42   mesonFlags = [
43     (lib.mesonBool "TO_JSON_BINARY" true)
44     (lib.mesonBool "PYTHON_BINDINGS" enablePython)
45   ];
47   meta = {
48     description = "RSS/Atom parser written in C++ with Python binding";
49     homepage = "https://gitlab.com/gabmus/syndication-domination";
50     license = lib.licenses.agpl3Only;
51     mainProgram = "SyndicationDomination";
52     maintainers = with lib.maintainers; [ aleksana ];
53     platforms = lib.platforms.all;
54   };