2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, meson, ninja, python3, gtk3, glibmm, cairomm, pangomm, atkmm, libepoxy, gnome }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gtkmm";
|
2021-07-14 22:03:04 +00:00
|
|
|
version = "3.24.5";
|
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";
|
2021-07-14 22:03:04 +00:00
|
|
|
sha256 = "1ri2msp3cmzi6r65ghwb8gfavfaxv0axpwi3q60nm7v8hvg36qw5";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
nativeBuildInputs = [ pkg-config meson ninja python3 ];
|
2021-12-06 16:07:01 +00:00
|
|
|
buildInputs = [ libepoxy ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ glibmm gtk3 atkmm cairomm pangomm ];
|
|
|
|
|
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=764521
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
passthru = {
|
2021-05-20 23:08:51 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2020-04-24 23:36:52 +00:00
|
|
|
packageName = pname;
|
|
|
|
attrPath = "${pname}3";
|
2021-05-20 23:08:51 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2021-10-17 02:12:59 +00:00
|
|
|
freeze = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "C++ interface to the GTK graphical user interface library";
|
|
|
|
|
|
|
|
longDescription = ''
|
|
|
|
gtkmm is the official C++ interface for the popular GUI library
|
|
|
|
GTK. Highlights include typesafe callbacks, and a
|
|
|
|
comprehensive set of widgets that are easily extensible via
|
|
|
|
inheritance. You can create user interfaces either in code or
|
|
|
|
with the Glade User Interface designer, using libglademm.
|
|
|
|
There's extensive documentation, including API reference and a
|
|
|
|
tutorial.
|
|
|
|
'';
|
|
|
|
|
|
|
|
homepage = "https://gtkmm.org/";
|
|
|
|
|
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
maintainers = with maintainers; [ raskin ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|