2019-11-04 20:10:41 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, gnome3
|
|
|
|
, meson
|
|
|
|
, python3
|
|
|
|
, ninja
|
|
|
|
}:
|
2018-12-23 15:03:24 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mm-common";
|
2020-06-10 14:13:29 +01:00
|
|
|
version = "1.0.1";
|
2018-12-23 15:03:24 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-06-10 14:13:29 +01:00
|
|
|
sha256 = "1jasx9a9g7nqf7jcv3mrg4qh5cp9sq724jxjaz4wa1dzmxsxg8i8";
|
2018-12-23 15:03:24 +00:00
|
|
|
};
|
|
|
|
|
2019-11-04 20:10:41 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
python3
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
2018-12-23 15:03:24 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-09-03 23:49:40 +01:00
|
|
|
description = "Common build files of GLib/GTK C++ bindings";
|
2018-12-23 15:03:24 +00:00
|
|
|
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.
|
|
|
|
'';
|
2019-11-04 20:10:41 +00:00
|
|
|
homepage = "https://www.gtkmm.org";
|
2018-12-23 15:03:24 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2020-04-01 13:40:51 +01:00
|
|
|
maintainers = teams.gnome.members;
|
2018-12-23 15:03:24 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|