diff options
author | Evgenia Vaartis <97nomad@gmail.com> | 2021-11-19 21:51:12 +0300 |
---|---|---|
committer | Evgenia Vaartis <97nomad@gmail.com> | 2021-11-19 21:51:12 +0300 |
commit | b23e8639594a3a45b92502642ca5f364c979c8e5 (patch) | |
tree | 35e14c575dee4bf1197b34e143fc18702575f4de /pkgs/development/libraries/pangomm | |
parent | f4cd131e3841884271e9f88c7fa358d19f248249 (diff) |
gigedit: use old pangomm version
Diffstat (limited to 'pkgs/development/libraries/pangomm')
-rw-r--r-- | pkgs/development/libraries/pangomm/2.42.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/development/libraries/pangomm/2.42.nix b/pkgs/development/libraries/pangomm/2.42.nix new file mode 100644 index 0000000000000..fa702177781f0 --- /dev/null +++ b/pkgs/development/libraries/pangomm/2.42.nix @@ -0,0 +1,45 @@ +{ lib, stdenv, fetchurl, pkg-config, meson, ninja, python3, pango, glibmm, cairomm, gnome +, ApplicationServices }: + +stdenv.mkDerivation rec { + pname = "pangomm"; + version= "2.42.2"; + + src = fetchurl { + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "sha256-GyTJJiSuEnXMtXdYF10198Oa0zQtjAtLpg8NmEnS0Io="; + }; + + outputs = [ "out" "dev" ]; + + nativeBuildInputs = [ pkg-config meson ninja python3 ] ++ lib.optionals stdenv.isDarwin [ + ApplicationServices + ]; + propagatedBuildInputs = [ pango glibmm cairomm ]; + + doCheck = true; + + passthru = { + updateScript = gnome.updateScript { + packageName = pname; + versionPolicy = "odd-unstable"; + freeze = true; + }; + }; + + meta = with lib; { + description = "C++ interface to the Pango text rendering library"; + homepage = "https://www.pango.org/"; + license = with licenses; [ lgpl2 lgpl21 ]; + maintainers = with maintainers; [ lovek323 raskin ]; + platforms = platforms.unix; + + longDescription = '' + Pango is a library for laying out and rendering of text, with an + emphasis on internationalization. Pango can be used anywhere + that text layout is needed, though most of the work on Pango so + far has been done in the context of the GTK widget toolkit. + Pango forms the core of text and font handling for GTK. + ''; + }; +} |