8 , gobject-introspection
10 , withIntrospection ? lib.meta.availableOn stdenv.hostPlatform gobject-introspection && stdenv.hostPlatform.emulatorAvailable buildPackages
20 stdenv.mkDerivation rec {
24 outputs = [ "out" "dev" ] ++ lib.optional withIntrospection "devdoc";
27 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
28 sha256 = "1b3bcdkk5xd5asq797cch9id8692grsjxrc1ss87vv11m1ck4rb3";
36 ] ++ lib.optionals withIntrospection [
42 ] ++ lib.optionals (withIntrospection && !stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
49 ] ++ lib.optionals withIntrospection [
54 (lib.mesonBool "doc" withIntrospection)
55 (lib.mesonEnable "gudev" withIntrospection)
56 (lib.mesonBool "introspection" withIntrospection)
57 (lib.mesonBool "vapi" withIntrospection)
63 updateScript = gnome.updateScript {
65 versionPolicy = "odd-unstable";
70 description = "A simple GObject game controller library";
71 homepage = "https://gnome.pages.gitlab.gnome.org/libmanette/";
72 license = licenses.lgpl21Plus;
73 maintainers = teams.gnome.members;
74 platforms = platforms.unix;