2023-11-16 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchurl
|
2023-11-16 04:20:00 +00:00
|
|
|
, bash
|
2021-05-20 23:08:51 +00:00
|
|
|
, gnome
|
2020-04-24 23:36:52 +00:00
|
|
|
, meson
|
|
|
|
, python3
|
|
|
|
, ninja
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mm-common";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "1.0.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-02-05 17:12:51 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2024-01-13 08:15:51 +00:00
|
|
|
sha256 = "tVxGA3282rxc7js4nqEcw5EK22jr6IPpR3hHqmYIYuc=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
python3
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
# for shebangs
|
|
|
|
buildInputs = [
|
|
|
|
python3
|
|
|
|
bash
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Common build files of GLib/GTK C++ bindings";
|
|
|
|
longDescription = ''
|
|
|
|
The mm-common module provides the build infrastructure and utilities
|
|
|
|
shared among the GNOME C++ binding libraries. It is only a required
|
|
|
|
dependency for building the C++ bindings from the gnome.org version
|
|
|
|
control repository. An installation of mm-common is not required for
|
|
|
|
building tarball releases, unless configured to use maintainer-mode.
|
|
|
|
'';
|
|
|
|
homepage = "https://www.gtkmm.org";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = teams.gnome.members;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|