lol
1{ lib, stdenv
2, fetchurl
3, gnome
4, meson
5, python3
6, ninja
7}:
8
9stdenv.mkDerivation rec {
10 pname = "mm-common";
11 version = "1.0.4";
12
13 src = fetchurl {
14 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
15 sha256 = "6VTAm0MJp++T4TtpJgrNxXOMkHR36zgbeLseQU7m29g=";
16 };
17
18 nativeBuildInputs = [
19 meson
20 python3
21 ninja
22 ];
23
24 passthru = {
25 updateScript = gnome.updateScript {
26 packageName = pname;
27 versionPolicy = "none";
28 };
29 };
30
31 meta = with lib; {
32 description = "Common build files of GLib/GTK C++ bindings";
33 longDescription = ''
34 The mm-common module provides the build infrastructure and utilities
35 shared among the GNOME C++ binding libraries. It is only a required
36 dependency for building the C++ bindings from the gnome.org version
37 control repository. An installation of mm-common is not required for
38 building tarball releases, unless configured to use maintainer-mode.
39 '';
40 homepage = "https://www.gtkmm.org";
41 license = licenses.gpl2Plus;
42 maintainers = teams.gnome.members;
43 platforms = platforms.linux;
44 };
45}