Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 stdenv, 3 lib, 4 fetchurl, 5 pkg-config, 6 meson, 7 ninja, 8 python3, 9 pango, 10 glibmm_2_68, 11 cairomm_1_16, 12 gnome, 13}: 14 15stdenv.mkDerivation rec { 16 pname = "pangomm"; 17 version = "2.56.1"; 18 19 outputs = [ 20 "out" 21 "dev" 22 ]; 23 24 src = fetchurl { 25 url = "mirror://gnome/sources/pangomm/${lib.versions.majorMinor version}/pangomm-${version}.tar.xz"; 26 hash = "sha256-U59apg6b3GuVW7RI4qYswUVidE32kCWAQPu3S/iFdV0="; 27 }; 28 29 nativeBuildInputs = [ 30 pkg-config 31 meson 32 ninja 33 python3 34 ]; 35 36 propagatedBuildInputs = [ 37 pango 38 glibmm_2_68 39 cairomm_1_16 40 ]; 41 42 doCheck = true; 43 44 passthru = { 45 updateScript = gnome.updateScript { 46 packageName = "pangomm"; 47 attrPath = "pangomm_2_48"; 48 versionPolicy = "odd-unstable"; 49 }; 50 }; 51 52 meta = with lib; { 53 description = "C++ interface to the Pango text rendering library"; 54 longDescription = '' 55 Pango is a library for laying out and rendering of text, with an 56 emphasis on internationalization. Pango can be used anywhere 57 that text layout is needed, though most of the work on Pango so 58 far has been done in the context of the GTK widget toolkit. 59 Pango forms the core of text and font handling for GTK. 60 ''; 61 homepage = "https://www.pango.org/"; 62 license = licenses.lgpl21Plus; 63 maintainers = with maintainers; [ 64 lovek323 65 raskin 66 ]; 67 teams = [ teams.gnome ]; 68 platforms = platforms.unix; 69 }; 70}