nixpkgs-suyu/pkgs/development/libraries/mm-common/default.nix
2020-06-10 13:13:29 +00:00

45 lines
1.1 KiB
Nix

{ stdenv
, fetchurl
, gnome3
, meson
, python3
, ninja
}:
stdenv.mkDerivation rec {
pname = "mm-common";
version = "1.0.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1jasx9a9g7nqf7jcv3mrg4qh5cp9sq724jxjaz4wa1dzmxsxg8i8";
};
nativeBuildInputs = [
meson
python3
ninja
];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with stdenv.lib; {
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;
};
}