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

56 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, bash
, gnome
, meson
, python3
, ninja
}:
2018-12-23 15:03:24 +00:00
stdenv.mkDerivation rec {
pname = "mm-common";
version = "1.0.5";
2018-12-23 15:03:24 +00:00
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "cFxtKfQRaim95ONs/BsEbJK274xtrk6uyFAYdH5tpao=";
2018-12-23 15:03:24 +00:00
};
strictDeps = true;
nativeBuildInputs = [
meson
python3
ninja
];
# for shebangs
buildInputs = [
python3
bash
];
2018-12-23 15:03:24 +00:00
passthru = {
updateScript = gnome.updateScript {
2018-12-23 15:03:24 +00:00
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
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.
'';
homepage = "https://www.gtkmm.org";
2018-12-23 15:03:24 +00:00
license = licenses.gpl2Plus;
maintainers = teams.gnome.members;
2018-12-23 15:03:24 +00:00
platforms = platforms.linux;
};
}