Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 pkg-config, 6 gtk2, 7 glibmm, 8 cairomm, 9 pangomm, 10 atkmm, 11}: 12 13stdenv.mkDerivation rec { 14 pname = "gtkmm"; 15 version = "2.24.5"; 16 17 src = fetchurl { 18 url = "mirror://gnome/sources/gtkmm/${lib.versions.majorMinor version}/gtkmm-${version}.tar.xz"; 19 sha256 = "0680a53b7bf90b4e4bf444d1d89e6df41c777e0bacc96e9c09fc4dd2f5fe6b72"; 20 }; 21 22 outputs = [ 23 "out" 24 "dev" 25 ]; 26 27 nativeBuildInputs = [ pkg-config ]; 28 29 propagatedBuildInputs = [ 30 glibmm 31 gtk2 32 atkmm 33 cairomm 34 pangomm 35 ]; 36 37 doCheck = true; 38 39 enableParallelBuilding = true; 40 41 meta = { 42 description = "C++ interface to the GTK graphical user interface library"; 43 44 longDescription = '' 45 gtkmm is the official C++ interface for the popular GUI library 46 GTK. Highlights include typesafe callbacks, and a 47 comprehensive set of widgets that are easily extensible via 48 inheritance. You can create user interfaces either in code or 49 with the Glade User Interface designer, using libglademm. 50 There's extensive documentation, including API reference and a 51 tutorial. 52 ''; 53 54 homepage = "https://gtkmm.org/"; 55 56 license = lib.licenses.lgpl2Plus; 57 58 maintainers = with lib.maintainers; [ raskin ]; 59 platforms = lib.platforms.unix; 60 }; 61}