summary refs log tree commit diff
path: root/pkgs/development/libraries/pangomm
diff options
context:
space:
mode:
authorEvgenia Vaartis <97nomad@gmail.com>2021-11-19 21:51:12 +0300
committerEvgenia Vaartis <97nomad@gmail.com>2021-11-19 21:51:12 +0300
commitb23e8639594a3a45b92502642ca5f364c979c8e5 (patch)
tree35e14c575dee4bf1197b34e143fc18702575f4de /pkgs/development/libraries/pangomm
parentf4cd131e3841884271e9f88c7fa358d19f248249 (diff)
downloadnixpkgs-b23e8639594a3a45b92502642ca5f364c979c8e5.tar
nixpkgs-b23e8639594a3a45b92502642ca5f364c979c8e5.tar.gz
nixpkgs-b23e8639594a3a45b92502642ca5f364c979c8e5.tar.bz2
nixpkgs-b23e8639594a3a45b92502642ca5f364c979c8e5.tar.lz
nixpkgs-b23e8639594a3a45b92502642ca5f364c979c8e5.tar.xz
nixpkgs-b23e8639594a3a45b92502642ca5f364c979c8e5.tar.zst
nixpkgs-b23e8639594a3a45b92502642ca5f364c979c8e5.zip
gigedit: use old pangomm version
Diffstat (limited to 'pkgs/development/libraries/pangomm')
-rw-r--r--pkgs/development/libraries/pangomm/2.42.nix45
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 00000000000..fa702177781
--- /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.
+    '';
+  };
+}