5 , gobject-introspection
21 stdenv.mkDerivation rec {
22 pname = "malcontent-ui";
24 inherit (malcontent) version src;
26 outputs = [ "out" "lib" "dev" ];
29 # Allow installing installed tests to a separate output.
30 ./installed-tests-path.patch
32 # Do not build things that are part of malcontent package
33 ./better-separation.patch
54 propagatedBuildInputs = [
63 "-Dinstalled_tests=true"
64 "-Dinstalled_test_prefix=${placeholder "installedTests"}"
65 "-Duse_system_libmalcontent=true"
70 # https://gitlab.freedesktop.org/pwithnall/malcontent/-/merge_requests/148
71 substituteInPlace build-aux/meson_post_install.py \
72 --replace gtk-update-icon-cache gtk4-update-icon-cache
76 description = "UI components for parental controls library";
77 homepage = "https://gitlab.freedesktop.org/pwithnall/malcontent";
78 license = licenses.lgpl21Plus;
79 maintainers = with maintainers; [ jtojnar ];
80 platforms = platforms.unix;