diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-02-16 18:36:13 +0000 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-03-25 15:01:22 +0100 |
commit | 8212afc323c2c0974707bcd29f4294374313b1d6 (patch) | |
tree | 94d00e61d498dfc4b30fca1203a13c3dbab42644 | |
parent | 3852b7117ae0f996f65377d3efda04a33de1ca4e (diff) |
gtksourceview5: 5.2.0 → 5.3.2
https://gitlab.gnome.org/GNOME/gtksourceview/-/compare/5.2.0...5.3.2
-rw-r--r-- | pkgs/development/libraries/gtksourceview/5.x.nix | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/pkgs/development/libraries/gtksourceview/5.x.nix b/pkgs/development/libraries/gtksourceview/5.x.nix index e6ad0f1ae36b9..411f9c247008d 100644 --- a/pkgs/development/libraries/gtksourceview/5.x.nix +++ b/pkgs/development/libraries/gtksourceview/5.x.nix @@ -10,6 +10,7 @@ , pango , fribidi , vala +, gi-docgen , libxml2 , perl , gettext @@ -22,13 +23,13 @@ stdenv.mkDerivation rec { pname = "gtksourceview"; - version = "5.2.0"; + version = "5.3.2"; - outputs = [ "out" "dev" ]; + outputs = [ "out" "dev" "devdoc" ]; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; - sha256 = "ybNPoCZU9WziL6CIJ9idtLqBYxsubX0x6mXRPHKUMOk="; + sha256 = "r3c24u4828EBMJDoyvNfuJ1lz0HJw5nKxdiZLZVd7TA="; }; patches = [ @@ -46,6 +47,7 @@ stdenv.mkDerivation rec { perl gobject-introspection vala + gi-docgen ]; buildInputs = [ @@ -68,6 +70,10 @@ stdenv.mkDerivation rec { dbus ]; + mesonFlags = [ + "-Dgtk_doc=true" + ]; + doCheck = stdenv.isLinux; checkPhase = '' @@ -81,6 +87,11 @@ stdenv.mkDerivation rec { runHook postCheck ''; + postFixup = '' + # Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back. + moveToOutput "share/doc" "$devdoc" + ''; + passthru = { updateScript = gnome.updateScript { packageName = "gtksourceview"; |