10 gobject-introspection,
13 lib.meta.availableOn stdenv.hostPlatform gobject-introspection
14 && stdenv.hostPlatform.emulatorAvailable buildPackages,
24 stdenv.mkDerivation rec {
31 ] ++ lib.optional withIntrospection "devdoc";
34 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
35 hash = "sha256-KTZr5UUvYKdMZfxk/+LXTt3U5uaCTCzvpWekO9kraI8=";
45 ++ lib.optionals withIntrospection [
52 ++ lib.optionals (withIntrospection && !stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
61 ++ lib.optionals withIntrospection [
66 (lib.mesonBool "doc" withIntrospection)
67 (lib.mesonEnable "gudev" withIntrospection)
68 (lib.mesonBool "introspection" withIntrospection)
69 (lib.mesonBool "vapi" withIntrospection)
75 updateScript = gnome.updateScript {
77 versionPolicy = "odd-unstable";
82 description = "Simple GObject game controller library";
83 mainProgram = "manette-test";
84 homepage = "https://gnome.pages.gitlab.gnome.org/libmanette/";
85 license = licenses.lgpl21Plus;
86 maintainers = teams.gnome.members;
87 platforms = platforms.unix;