nixpkgs-suyu/pkgs/development/libraries/mm-common/default.nix

46 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv
, fetchurl
, gnome3
, meson
, python3
, ninja
}:
2018-12-23 16:03:24 +01:00
stdenv.mkDerivation rec {
pname = "mm-common";
2020-10-24 05:33:29 +02:00
version = "1.0.2";
2018-12-23 16:03:24 +01:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2020-10-24 05:33:29 +02:00
sha256 = "07b4s5ckcz9q5gwx8vchim19mhfgl8wysqwi30pndks3m4zrzad2";
2018-12-23 16:03:24 +01:00
};
nativeBuildInputs = [
meson
python3
ninja
];
2018-12-23 16:03:24 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with stdenv.lib; {
description = "Common build files of GLib/GTK C++ bindings";
2018-12-23 16:03:24 +01: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.
'';
homepage = "https://www.gtkmm.org";
2018-12-23 16:03:24 +01:00
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
2018-12-23 16:03:24 +01:00
platforms = platforms.linux;
};
}